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
| Element | Type | Description |
|---|---|---|
| value | any | the value being tested |
| test | unary test | a range, a list, alternatives, or a comparison |
Examples
5 in [1..10]
true
Try it ↑
5 in (3, 5, 7)
true
Try it ↑
"b" in ("a", "b", "c")
true
Try it ↑
5 in [1,2,3]
false
Try it ↑
Related constructs
unary tests (decision table cells) · range / interval · between … and
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).