(>=) (Greater than or equal to operator)

(>= item1 item2 ...)


The first is greater than or equal to the others.


This function is the greater-than or equal-to operator:

    • If item1 is greater than or equal to item2, this function returns a T (true).
    • If it is less than, this function returns nil (false).

If this function contains more than two items, the function returns T when each item to the right is greater-than or equal to the item on its left. The items can be numbers or strings.

Examples

This expression Returns
(>= 3.1 3.0) T
(>= 6 5 5) T
(>= 6) T
(>= "x" "y" "z") nil

NOTE This function is the opposite of the < (Less Than operator) function.

Tell me about...

(/= item1 item2 ...)

(<= item1 item2 ...)

(= item1 item2 ...)

(> item1 item2 ...)

(cond (statement1 result1 ...) ...)

(if test statement1 [statement2])

(while text statement )

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language