OR
Airkit supports the standard OR
operator. It returns the Boolean TRUE
if at least one of the two operands, themselves Booleans, are TRUE
. Otherwise, it returns FALSE
.
If given NULL
instead of a Boolean, the OR
operator will likewise return NULL
:
The OR
operator evaluates the first operand first. The second operand is only evaluated if the first operand evaluates to FALSE
:
The operands can consist of arbitrarily complicated Airscript expressions. For instance, say that both operators are defined by an Airscript expression that uses the function ISNUMBER to determine if the function input is a properly-formatted Number:
Last updated