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