FEEL

odd

FEEL built-in function · FEEL numeric functions

odd(number)

Returns true if the number is an odd integer.

Parameters

ParameterTypeDescription
numbernumberthe value to test

Examples

odd(5)
odd(2)

Edge cases and null handling

odd(null)

Related functions

even · modulo

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).