summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/is-typedarray/README.md
blob: 275286391935842285d869d8a18949e04ca20fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.