between … and
FEEL language construct
value between low and high
Inclusive range test, equivalent to value >= low and value <= high and to value in [low..high]. It reads closer to natural language than either, which is why it is common in business-authored literal expressions.
Syntax elements
| Element | Type | Description |
|---|---|---|
| value | comparable | the value to test |
| low | comparable | lower bound, included |
| high | comparable | upper bound, included |
Examples
5 between 1 and 10
true
Try it ↑
10 between 1 and 10
true
Try it ↑
date("2026-07-15") between date("2026-07-01") and date("2026-07-31")
true
Try it ↑
Related constructs
range / interval · in · comparison and boolean operators
Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).