Comparison Operators

Airscript supports comparison operators that check equality, inequality, and ordering.

Unlike Airscript functions, Airscript operators not placed before the variables they are operating on, but rather between them, analogous to how operators are written in simple arithmetic equations. For instance, the following example uses the equality operator (=) to check if 2 is equal to 2:

2 = 2 -> TRUE

All comparison operators return a Boolean as output. They are commonly used in tandem with Airscript functions such as IF, which requires Boolean input.

All comparison operators are capable of comparing two Numbers, Times, Dates, DateTimes, Currencies, and strings. See documentation on individual operators for details.