#isArray
Returns true if the value is an array, false otherwise.
#isArray(value)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
value |
path | value |
The value to test. |
Returns
Section titled “Returns”boolean
Examples
Section titled “Examples”Array or not
Section titled “Array or not”{ "a": [ 1 ], "b": { "c": 1 }}{ "a": "#isArray($.a)", "b": "#isArray($.b)"}{ "a": true, "b": false}