Wondering what’s next for npm?Check out our public roadmap! »

    @bemoje/is-undefined

    3.0.4 • Public • Published

    @bemoje/is-undefined

    Check whether the provided value is undefined.

    Version

    NPM version

    Travis CI

    dependencies

    Dependencies

    dependencies

    Stats

    NPM downloads Forks

    Donate

    Buy Me A Beer donate button PayPal donate button

    Installation

    npm install @bemoje/is-undefined
    npm install --save @bemoje/is-undefined
    npm install --save-dev @bemoje/is-undefined

    Usage

    import isUndefined from '@bemoje/is-undefined'
     
    isUndefined(void 0)
    //=> true
     
    isUndefined(undefined)
    //=> true
     
    isUndefined('undefined')
    //=> false
     
    isUndefined(null)
    //=> false
     

    Benchmark

    79700 nanoseconds

    Tests

    Uses Jest to test module functionality. Run tests to get coverage details.

    npm run test

    API

    isUndefined

    Check whether the provided value is undefined.

    Parameters
    • value any The value to evaluate.
    Returns

    boolean

    Install

    npm i @bemoje/is-undefined

    DownloadsWeekly Downloads

    24

    Version

    3.0.4

    License

    MIT

    Unpacked Size

    6.62 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar