JSPM

  • Created
  • Published
  • Downloads 12804
  • Score
    100M100P100Q137777F
  • License MIT

Detect whether or not an object is an ArrayBuffer.

Package Exports

  • is-array-buffer-x

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-array-buffer-x) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

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