<=
type: function (subr) location: built-in source file: xlmath.c Common LISP compatible: yes supported on: all machines
SYNTAX
(<= <expr1> <expr2> ... )
<exprN> - a numeric expression
DESCRIPTION
The <= (LESS-THAN-OR-EQUAL) operation takes an arbitrary number of numeric arguments. It checks to see if all the numbers are monotonically non-decreasing. T is returned if the arguments are numerically, monotonically non-decreasing, NIL is returned otherwise. For two arguments, this has the effect of testing if <expr1> is less than or equal to <expr2>.
EXAMPLES
(<= 1 1) ; returns T (<= 1 2) ; returns T (<= 2.0 1.99) ; returns NIL (<= 1 2 3 3) ; returns T (<= 1 2 3 3 2) ; returns NIL (<= "aa" "aa") ; error: bad argument type (setq a 12) (setq b 999.999) ; set up A and B with values (<= a b) ; returns T (<= b a) ; returns NIL