all
Returns true if all Boolean values are true; stops evaluation after the first false value and returns false.
Signature
all(booVal1 as Boolean, boolVal2 as Boolean, boolValN as Boolean) -> Boolean |
Parameters
Name | Type | Description |
|---|---|---|
booVal1 | 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:
all(1 + 1 == 2, 3 > 0, 4 < 5) |