FEEL

in

FEEL language construct

value in list · value in range · value in (test, test)

Membership test. The right-hand side is a positive unary test: a list, a range, a comma-separated set of alternatives, or a comparison. This is the construct that turns a decision table unary test into an ordinary boolean expression, which is how you verify a table cell outside the table.

Syntax elements

ElementTypeDescription
valueanythe value being tested
testunary testa range, a list, alternatives, or a comparison

Examples

5 in [1..10]
5 in (3, 5, 7)
"b" in ("a", "b", "c")
5 in [1,2,3]

Related constructs

unary tests (decision table cells) · range / interval · between … and

Related functions

list contains

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