#isInteger
Returns true if the value is a whole number.
#isInteger(value)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
value |
path | value |
The value to test. |
Returns
Section titled “Returns”boolean
Examples
Section titled “Examples”Integer or not
Section titled “Integer or not”{ "a": 5, "b": 5.5}{ "a": "#isInteger($.a)", "b": "#isInteger($.b)"}{ "a": true, "b": false}