Table of Contents

isneq

Description

Thest the inequality of two variables.

Function prototype

bool isneq <bool:arg1> <bool:arg2>

Arguments

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

If the type of arg1 is not equal to that of arg2, the ordering of the arguments may change the result of calls to isneq. See comments for iseq.

Return value

False if the values are equal, and true otherwise.

Example

echo <zs:isneq 1 2> // should be true
echo <zs:isneq 2 2> // should be false

… the output of which is written to the event log by echo as:

true
false

Comments

None.

See also