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