The bool data type
The bool (boolean) data type can have one of two states: true or false (internally encoded as 1 and 0, respectively), as well as the null value.
bool literals
The bool data type has the following literals:
trueandbool(true): Representing truenessfalseandbool(false): Representing falsehoodbool(null): See null values
bool operators
The bool data type supports the following operators: equality (==), inequality (!=), logical-and (and), and logical-or (or).