comparison and boolean operators
FEEL language construct
= != < <= > >= · and or
Equality is a single = (not ==), and inequality is !=. Comparison works on numbers, strings, dates, times and durations. The boolean operators are the words and and or; negation is the built-in function not(), not an operator.
Syntax elements
| Element | Type | Description |
|---|---|---|
| = | boolean | equality; a single equals sign |
| and / or | boolean | conjunction and disjunction, spelled as words |
Examples
1 = 1
true
Try it ↑
1 != 2
true
Try it ↑
true and false or true
true
Try it ↑
date("2026-07-01") < date("2026-08-01")
true
Try it ↑
not(true)
false
Try it ↑
Related constructs
if … then … else · unary tests (decision table cells) · null and error propagation
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).