Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hemanth/is-iterable

Checks if a given object is iterable.
https://github.com/hemanth/is-iterable

Last synced: about 11 hours ago
JSON representation

Checks if a given object is iterable.

Awesome Lists containing this project

README

        

# is-iterable [![Build Status](https://travis-ci.org/hemanth/is-iterable.svg?branch=master)](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)