Logical OR (or)

The logical OR operator performs short-circuit evaluation, returning true if any operand evaluates to true. Evaluation stops at the first true operand, making it efficient for conditional chains.

LogicalOr        = LogicalAnd { "or" LogicalAnd } ;

Examples:

isValid or hasPermission
condition1 or condition2 or condition3

Back to top

Copyright © Mesch Systems. All rights reserved.