Determine whether a variable is numerically less than another variable.
bool islt <variant:arg1> <variant:arg2>
| Name | Type | Comment |
|---|---|---|
| arg1 | variant | The first variable to be compared. |
| arg2 | variant | The second variable to be compared. |
islt may change if the type of arg1 is not equal to that of arg2. See comments for iseq.
True if arg1 is less than arg2, and false otherwise.
echo <zs:islt 2 3> // is 2 less than 3? (ans: yes!)
… the output of which is written to the event log by echo as:
true
None.