Logical OR Operator (||)

The logical OR operator evaluates its operands as boolean values. If either operand evaluates to TRUE, then the resulting value is TRUE (1). Otherwise, the result is FALSE (0).

Note that even if the first operand evaluates to TRUE, the second operand will still be evaluated. The short circuiting logical OR operator would not evaluate the second operand in this case.