FEEL

range / interval

FEEL language construct

[a..b] · (a..b) · [a..b)

A range is a first-class value describing an interval. Square brackets include the endpoint, parentheses exclude it, so half-open intervals like [0..100) are expressible directly. Ranges work over numbers, dates, times and durations, are testable with the in operator, and are the value behind most decision table unary tests.

Syntax elements

ElementTypeDescription
anumber, date, time or durationstart endpoint
bsame type as aend endpoint

Examples

[1..10]
[1..10] Try it ↑
(1..10]
(1..10] Try it ↑
5 in [1..10]
10 in [1..10)
date("2026-07-15") in [date("2026-07-01")..date("2026-07-31")]

Related constructs

in · unary tests (decision table cells) · between … and

Related functions

before · after · during · includes

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