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
AssertionFailedError If the value was undefined.
Narrows an
unknownvalue to anArrayif it is type-compatible, or raises an error otherwise.