Skip to content

writetome51/error-if-not-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

errorIfNotString(arg): void

Triggers error "Input must be string" if arg is not a string.

Installation

npm i error-if-not-string

Loading

import { errorIfNotString } from 'error-if-not-string';

About

Function triggers error if argument is not type 'string'

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published