Name

not operator — Logical negation operator

Synopsis

               unary-expr := ! cast-expr | not cast-expr
            

The not operator converts its operand to type bool, inverts its value, and returns a bool result. The not keyword is interchangeable with the ! token.