Boolean
A Boolean value is a truth value and can be used as a condition.
Related concepts: ValueTypeConditional
Closest Wikipedia entry: Boolean data type
Misconceptions about Boolean12 documented Misconceptions
Check YourselfComparisonWithBoolLiteral
To test whether an expression is True or False, one must compare it to True or to FalseMapToBooleanWithIf
To map a boolean expression to a bool, an if statement is necessaryMapToBooleanWithTernaryOperator
To map a boolean expression to a bool, a ternary conditional operator is necessaryNoShortCircuit
and/or always evaluate both operands