lessEqualP

HC Arithmetic Arithmetic Predicates lessEqualP
greaterP greaterEqualP

lessEqualP thing1 thing2
lessEqual? thing1 thing2
thing1 <= thing2

outputs TRUE if its first input is less or equal than its second.

If the args are numbers they are compared by their numerical value. If they are strings they are string-compared. if they are lists or arrays, they are elementwise compared. Otherwise the node pointers are compared.

Examples:

1 <= 1		;true  ;-)
1 <= 2		;true  ;-)
1 <= 0		;false  ;-)
"a <= "b		;true  ;-)
"a <= "a		;true  ;-)
"b <= "a		;false  ;-)
[1 0] <= [1 1]		;true  ;-)

Reference:

greaterP greaterEqualP