error-if-not-string

    2.0.0 • Public • Published

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

    Install

    npm i error-if-not-string

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    2.15 kB

    Total Files

    4

    Last publish

    Collaborators

    • writetome51