Previous: Bitwise Operators, Up: Built-in Operators


3.2.4 Logical Operators

Boolean binary logical operators.

&&
AND
||
OR
Note that there is no exclusive-OR operator, use the != operator as a substitute.

Boolean logical negation

!
NOT