Logical operators

Logical operators are used in expressions that evaluate to "true" or "false".

Operator
Description
^
exclusive or
&
and
|
or
!
not
=
equals