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