Narrows an unknown value to an Array if it is type-compatible, or raises an error otherwise.
unknown
Array
The value to test.
Optional
The error message to use if value is not type-compatible.
value
UnexpectedValueTypeError If the value was undefined.
Narrows an
unknown
value to anArray
if it is type-compatible, or raises an error otherwise.