|Syntax||(leq a [b ... bn]) -> True if a <= b <= bn|
|Argument List||a: The first expression you want to compare.
[b ... bn]: The next expressions you want to compare.
|Returns||boolean: The expressions are compared left to right. If there is any case where the left value is "greater" than the right value, `leq' will return Nil. Else it returns True.|
|Description||A comparison function that returns True if the left hand side is less than or equal to the right hand side. The same as <= in math.
Integers are compared by value, so (leq 1 1) -> True, but (leq 2 1) -> Nil
Strings are compared by alphabetical position, so (leq "a" "A") -> True, but (leq "b" "A") -> Nil
Lists are compared by length, so (leq '(2) '(1 1)) -> True, but (leq '(1 1) '(2)) -> Nil
(leq 7 3)Returns Nil.
(leq "Betel" "Betelgeuse")Returns True.
(leq '(a a b) '(c d e))Returns True.
(leq "B" "b")
|Mod of the Month (February '17)|
|[Pre-Alpha] Oracus and Domina I: The March of the Heretic|
|Transcendence 1.7 XML _Source|