odd
FEEL built-in function · Numeric functions
odd(number)
Returns true if the number is an odd integer.
Parameters
| Parameter | Type | Description |
|---|---|---|
| number | number | the value to test |
Examples
odd(5)
true
Try it →
odd(2)
false
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).