FEEL

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

ElementTypeDescription
=booleanequality; a single equals sign
and / orbooleanconjunction and disjunction, spelled as words

Examples

1 = 1
1 != 2
true and false or true
date("2026-07-01") < date("2026-08-01")
not(true)

Related constructs

if … then … else · unary tests (decision table cells) · null and error propagation

Related functions

not · all · any

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