2.0.0 • Published 4 years ago
error-if-not-string v2.0.0
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';