Logical operators

OR

|| is a binary operator.

Accepts

  1. Boolean expression
  2. Boolean expression

Returns the boolean result.

XOR

^^ is a binary operator.

Accepts

  1. Boolean expression
  2. Boolean expression

Returns the boolean result.

AND

&& is a binary operator.

Accepts

  1. Boolean expression
  2. Boolean expression

Returns the boolean result.

NOT

! is an unary operator.

Accepts

  1. Boolean expression

Returns the boolean result.