1.0.0 • Published 9 years ago

an-array v1.0.0

Weekly downloads
6,869
License
MIT
Repository
github
Last release
9 years ago

an-array

npm.io npm.io npm.io npm.io

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.