an-array

1.0.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    16,203
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    16,203

Package Sidebar

Install

npm i an-array

Weekly Downloads

16,203

Version

1.0.0

License

MIT

Last publish

Collaborators

  • hughsk