Narrows an unknown value to an Array if it is type-compatible, or returns undefined otherwise.
unknown
Array
undefined
The value to test.
Narrows an unknown value to an object if it is type-compatible, or returns the provided default otherwise.
object
The default to return if value was undefined or of the incorrect type.
value
Narrows an
unknown
value to anArray
if it is type-compatible, or returnsundefined
otherwise.