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 Boolean13 documented Misconceptions
Check YourselfComparisonWithBoolLiteral
To test whether an expression is True or False, one must compare it to True or to False
MapToBooleanWithIf
To map a boolean expression to a bool, an if statement is necessary
MapToBooleanWithTernaryOperator
To map a boolean expression to a bool, a ternary conditional operator is necessary
NoShortCircuit
and/or always evaluate both operands
NoSingleLogicAnd
& is only a bitwise AND