Narrows an AnyJson value to a JsonArray if it is type-compatible, or returns undefined otherwise.
AnyJson
JsonArray
undefined
The value to test.
Narrows an AnyJson value to a JsonArray if it is type-compatible, or returns the provided default otherwise.
The default to return if the value was undefined or of the incorrect type.
Narrows an
AnyJson
value to aJsonArray
if it is type-compatible, or returnsundefined
otherwise.