The OR function takes two or more Boolean parameters and will return true if any one or more of its parameters evaluates to true; otherwise it returns false. This function can be called in a Boolean context.
@OR (Expression 1 [, ..., Expression N]) | |
---|---|
Expression 1 | Required Boolean parameter; contains the first value evaluated
by the function for true or false. If this parameter evaluates to
true, the function will end evaluation and return true to the caller. |
Expression N | Optional Boolean parameter(s); contains the next value evaluated
by the function. Additional parameters are evaluated until a true
parameter is found. The function will end evaluation and return
true for the first true parameter found. |
Boolean