true, false, 1, 0, true false.
"3.2.2 boolean
[Definition:] boolean has a value space · needed to support the mathematical concept of binary logic: {true, false}. 3.2.2.1 Lexical representation
An instance of a data type that is defined as · boolean can have the following legal literals: {true, false, 1, 0}. 3.2.2.2 Canonical representation
The canonical representation for boolean means many literals {true, false}.
source
share