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) isInteger isInteger(number: Number): Boolean Returns true if the given number is an integer (which lacks decimals), false if not. Parameters Name Description number The number to evaluate. Example This example indicates whether the input is an integer for different values. Note numbers within strings get coerced to numbers. Source %dw 2.0 output application/json --- [isInteger(1), isInteger(2.0), isInteger(2.2), isInteger("1")] Output [ true, true, false, true ]