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