error-if-not-array
v2.0.0
Published
Function triggers error if argument is not array
Downloads
178
Maintainers
Readme
errorIfNotArray(arg): void
Triggers error "Input must be array" if arg
is not array.
Installation
npm i error-if-not-array
Loading
import { errorIfNotArray } from 'error-if-not-array';