17 lines
558 B
Markdown
17 lines
558 B
Markdown
![]() |
# is-typedarray [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges)
|
||
|
|
||
|
Detect whether or not an object is a
|
||
|
[Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
[![NPM](https://nodei.co/npm/is-typedarray.png)](https://nodei.co/npm/is-typedarray/)
|
||
|
|
||
|
### isTypedArray(array)
|
||
|
|
||
|
Returns `true` when array is a Typed Array, and `false` when it is not.
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.
|