Skip to content

writetome51/error-if-not-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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';

About

Function triggers error if argument is not type 'array'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published