(>) (Greater than operator)
(> item1 item2 ...)
The first is greater than the others .
The greater-than function displays a T (true) or a nil (false):
- If the first item is greater than the second item (and so on), this function returns a T.
- If the second item is less than or equal to the first, this function returns nil.
If this function contains more than two items, the function returns T when each item to the right is greater than the item to its left. The items can be numbers or strings.
Examples
| This expression | Returns |
|---|---|
| (> 6 4.9) | T |
| (> 7 8) | nil |
| (> 6 4 4) | nil |
| (> 6) | T |
| (> "y" "x") | T |
NOTE This function is the opposite of the <= (Less Than or Equal To operator) function.
Tell me about...
(cond (statement1 result1 ...) ...)
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español