FEEL

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

ElementTypeDescription
namenamethe iteration variable
listlist or rangethe elements to test
satisfiesbooleanthe condition evaluated per element

Examples

some x in [1,5,9] satisfies x > 8
some x in [1,2] satisfies some y in [3,4] satisfies x + y = 5
some order in [{total: 50}, {total: 150}] satisfies order.total > 100

Related constructs

every … satisfies · for … in … return · list filter […]

Related functions

any · count

Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).