any
FEEL built-in function · FEEL list functions
any(list) or any(b1, …, bN)
Returns true if at least one element is true, false if all are false, and null otherwise. any([]) is false.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list of booleans | booleans, as one list or as separate arguments |
Examples
any([false, true])
true
Try it ↑
any([])
false
Try it ↑
Edge cases and null handling
any([null, false])
null
Try it ↑
Part of FEEL list functions: how positions, nulls and single values behave across all of them, aggregating over lists of contexts, and every function side by side.
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).