https://github.com/hemanth/is-iterable
Checks if a given object is iterable.
https://github.com/hemanth/is-iterable
Last synced: 3 months ago
JSON representation
Checks if a given object is iterable.
- Host: GitHub
- URL: https://github.com/hemanth/is-iterable
- Owner: hemanth
- License: mit
- Created: 2015-07-07T06:56:19.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T04:57:36.000Z (over 7 years ago)
- Last Synced: 2025-03-28T18:21:23.526Z (3 months ago)
- Language: JavaScript
- Homepage: http://git.io/is-iterable
- Size: 9.77 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# is-iterable [](https://travis-ci.org/hemanth/is-iterable)
> Checks if a given object is iterable.
## Install
```
$ npm install --save is-iterable
```## Usage
```js
var isIterable = require('is-iterable');isIterable([]); // true
isIterable({}); // false
```## License
MIT © [Hemanth.HM](http://h3manth.com)