lessP

HC Arithmetic Arithmetic Predicates lessP
Arithmetic Predicates greaterP

lessP thing1 thing2
less? thing1 thing2
thing1 < thing2

outputs TRUE if its first input is strictly less 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 < 2		;true  ;-)
1 < 1		;false  ;-)
"a < "b		;true  ;-)
[1 0] < [0 1]		;false  ;-)
[1 0] < [1 1]		;true  ;-)

See also:

Reference:

Arithmetic Predicates greaterP