https://github.com/afeiship/next-is-array
Array.isArray polly fill for next.
https://github.com/afeiship/next-is-array
isarray next
Last synced: 10 months ago
JSON representation
Array.isArray polly fill for next.
- Host: GitHub
- URL: https://github.com/afeiship/next-is-array
- Owner: afeiship
- License: mit
- Created: 2019-01-15T00:57:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-22T09:45:22.000Z (about 5 years ago)
- Last Synced: 2025-03-17T22:55:54.574Z (11 months ago)
- Topics: isarray, next
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-is-array
> Array.isArray polly fill for next.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-is-array
```
## usage
```js
import '@jswork/next-is-array';
nx.isArray(null); // false
nx.isArray([]); // true
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-is-array/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-is-array
[version-url]: https://npmjs.org/package/@jswork/next-is-array
[license-image]: https://img.shields.io/npm/l/@jswork/next-is-array
[license-url]: https://github.com/afeiship/next-is-array/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-is-array
[size-url]: https://github.com/afeiship/next-is-array/blob/master/dist/next-is-array.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-is-array
[download-url]: https://www.npmjs.com/package/@jswork/next-is-array