Copy as Markdown View as Markdown (opens in new tab) View on GitHub (opens in new tab) Open in... ChatGPT (opens in new tab) Claude (opens in new tab) Perplexity (opens in new tab) isOdd isOdd(number: Number): Boolean Returns true if the number or numeric result of a mathematical operation is odd, false if not. Parameters Name Description number A number to evaluate. Example This example indicates whether the numbers are odd. Source %dw 2.0 output application/json --- { "isOdd" : [ isOdd(0), isOdd(1), isOdd(2+2) ] } Output { "isOdd": [ false, true, false ] }