The ! operator, also known as the NOT operator, is a unary operator that negates the value of a boolean expression. It returns true if the expression is false, and false if the expression is true.
Related terms
Unary Operator: An operator that operates on only one operand.
Logical Operators: Symbols used to perform logical operations on boolean values (e.g., AND, OR, NOT).
Boolean Expression: An expression that evaluates to either true or false.