expr boolean negation operator
returns truth if the argument is a falsehood, and falsity of the argument is true
For bitwise "not" use the ~ operator.