JSPM

an-array

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 33578
  • Score
    100M100P100Q156180F
  • License MIT

Check if an object is an array or a typed array

Package Exports

  • an-array

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 (an-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

an-array

Check if an object is an array or a typed array.

Usage

NPM

is = anArray(array)

Returns true if the object is one of the following:

  • Float32Array
  • Float64Array
  • Uint8ClampedArray
  • Uint8Array
  • Uint16Array
  • Uint32Array
  • Int8Array
  • Int16Array
  • Int32Array
  • Array

Otherwise, will return false.

License

MIT. See LICENSE.md for details.