AND
Last updated
Was this helpful?
Last updated
Was this helpful?
Airkit supports the standard AND
operator. It returns the Boolean TRUE
if the two operands, themselves Booleans, are both TRUE
. Otherwise, it returns FALSE
.
If given NULL
instead of a Boolean, the AND
operator will likewise return NULL
:
The AND
operator evaluates the first operand first. The second operand is only evaluated if the first operand evaluates to TRUE
:
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 to determine if the function input is a properly-formatted Number: