Logical Not
The logical not operator denotes the logical negation of its operand.
Process
At runtime:
- the operand is evaluated; and
- the state
truemaps tofalse, the statefalsemaps totrue, and the resulting state is the not's value.
Assertions
- The operand's type is
bool, and the not's result has typebool.
Syntax
logical_not_operator = bang ;