odd

FEEL built-in function · Numeric functions

odd(number)

Returns true if the number is an odd integer.

Parameters

ParameterTypeDescription
numbernumberthe value to test

Examples

odd(5)
odd(2)

Related functions

even · modulo

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