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

    @bemoje/is-array

    1.0.1 • Public • Published

    @bemoje/is-array

    Returns whether 'value' is an Array.

    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-array
    npm install --save @bemoje/is-array
    npm install --save-dev @bemoje/is-array

    Usage

    import isArray from '@bemoje/is-array'
     
    isArray([])
    //=> true
     
    isArray(new Array())
    //=> true
     
    isArray(new Uint16Array(2))
    //=> false
     
    isArray()
    //=> false
     

    Tests

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

    npm run test

    API

    isArray

    Returns

    whether 'value' is an Array.

    Parameters
    • value any The value to evaluate.
    Returns

    boolean

    Install

    npm i @bemoje/is-array

    DownloadsWeekly Downloads

    5

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.34 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar