/BOOL

back to docs

In Iode, booleans (bools) are always either true or false. They are defined by the keywords true and false.

In the code sample above, the variable "alive" is given the value of "true," while the second variable declaration gives the value of "false" to the "dead" variable.