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.
Examples
true or false
returns true.false or false
returns false.false or true
returns true.true or true
returns true.