Table of Contents

isgt

Description

Determine whether a variable is numerically greater than another variable.

Function prototype

bool isgt <variant:arg1> <variant:arg2>

Arguments

Name Type Comment
arg1 variant The first variable to be compared.
arg2 variant The second variable to be compared.

The return value of isgt may change if the type of arg1 is not equal to that of arg2. See comments for iseq.

Return value

True if arg1 is greater than arg2, and false otherwise.

Example

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

Comments

None.

See also