Comparison Operators
Last updated
Was this helpful?
Last updated
Was this helpful?
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:
All comparison operators return a as output. They are commonly used in tandem with Airscript functions such as , which requires Boolean input.
All comparison operators are capable of comparing two , , , , , and . See documentation on individual operators for details.