Neutron Polarization Manipulator
    Have ideas to improve npm?Join in the discussion! »

    is-array-buffer-x

    2.1.2 • Public • Published

    Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

    is-array-buffer-x

    Detect whether or not an object is an ArrayBuffer.

    module.exports(object)boolean

    Determine if an object is an ArrayBuffer.

    Kind: Exported function
    Returns: boolean - true if the object is an ArrayBuffer, else false`.

    Param Type Description
    object * The object to test.

    Example

    import isArrayBuffer from 'is-array-buffer-x';
     
    console.log(isArrayBuffer(new ArrayBuffer(4))); // true
    console.log(isArrayBuffer(null)); // false
    console.log(isArrayBuffer([])); // false

    Install

    npm i is-array-buffer-x

    DownloadsWeekly Downloads

    10,116

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    310 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar