Table of Contents

Logical operators

Conditional AND operator.

&&
Performs a logical AND of its left and right operands. The right operand is only evaluated if the left operand is true.

Conditional OR operator.

||
Performs a logical OR of its left and right operands. The right operand is only evaluated if the left operand is false.