any
Returns true if any Boolean value is true; stops evaluation after the first true value. Returns false if all values are false.
Signature
any(boolVal1 as Boolean, boolVal2 as Boolean, boolValN as Boolean) -> Boolean |
Parameters
Name | Type | Description |
|---|---|---|
boolVal1 | Boolean | Specifies a Boolean value to evaluate. Subsequent values must be separated by a comma. |
boolVal2 | Boolean | Same as above. |
boolValN | Boolean | Same as above. |
Example
The expression below evaluates to true because the second value is true:
any(1 + 1 == 3, 5 > 2, 2 * 2 == 5) |