Boolean Data Type has two potential values:
FALSE. It used to store data with binary properties, such as the answers to "Yes"/"No" questions. For example, the Is Visible property of many Web Controls expects a Boolean, which dictates whether or not the Web Control should be visible.
Airscript represents Boolean values as
FALSE. They are distinguished from strings by a lack of quotation marks.
Boolean values are most commonly returned by Airscript expressions that make comparisons. For instance, the following example uses the comparison operator
< to determine if 2 is less than 3, and returns
TRUE because it is:
2 < 3 -> TRUE
ISEMPTY([1, 2, 3]) -> FALSE
In addition to being given as output, Boolean values can also be given as input. The IF function, for example, expects the first value its given to take the form of a Boolean, and returns a different value depending on the value of the Boolean:
IF(FALSE, "The answer is yes.", "The answer is no.") -> "The answer is no."