Boolean
Boolean
literals
True
and
False
map to the true and false state, respectively.
Tip:
It is a common convention to end rule, method, variable, and argument names with a question mark when they evaluate to a
Boolean
value. Example: isValid?
Parent topic:
Data Types