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