some … satisfies
FEEL language construct
some name in list satisfies condition
The existential quantifier: true when the condition holds for at least one element of the list. It short-circuits and always returns a single boolean, which makes it the idiomatic way to express "any of" conditions in a decision table input entry.
Syntax elements
| Element | Type | Description |
|---|---|---|
| name | name | the iteration variable |
| list | list or range | the elements to test |
| satisfies | boolean | the condition evaluated per element |
Examples
some x in [1,5,9] satisfies x > 8
true
Try it ↑
some x in [1,2] satisfies some y in [3,4] satisfies x + y = 5
true
Try it ↑
some order in [{total: 50}, {total: 150}] satisfies order.total > 100
true
Try it ↑
Related constructs
every … satisfies · for … in … return · list filter […]
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).