Logical Operators

Operator Description
Conditional logical AND operator and The conditional logical AND operator and returns true if both the left-hand operand and the right-hand operand evaluate to true; otherwise, it returns false.
Conditional logical OR operator or The conditional logical OR operator or returns true if either the left-hand operand or the right-hand operand evaluates to true; otherwise, it returns false.
Conditional logical NOT operator not The conditional logical NOT operator not returns true if the operand evaluates to false, and false if the operand evaluates to true.