Narrows an AnyJson value to a JsonArray if it is type-compatible, or raises an error otherwise.
AnyJson
JsonArray
The value to test.
Optional
The error message to use if value is not type-compatible.
value
AssertionFailedError If the value was undefined.
Narrows an
AnyJson
value to aJsonArray
if it is type-compatible, or raises an error otherwise.