Logical AND (and)

The logical AND operator performs short-circuit evaluation, returning true only if all operands evaluate to true. Evaluation stops at the first false operand, preventing unnecessary computation.

LogicalAnd       = Equality { "and" Equality } ;

Examples:

isActive and hasAccess
x > 0 and x < 100


Back to top

Copyright © Mesch Systems. All rights reserved.