Standard Library: Bool
Work with boolean values
For more information on booleans see the language reference.
Bool.toNum(boolean)
Convert true to 1 and
false to 0.
Bool.toNum(false)
Bool.toNum(true)
0
1