Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-iterable

hemanth588.8kMIT1.1.1TypeScript support: definitely-typed

Checks if a given object is iterable

es6, check, iterable

readme

is-iterable Build Status

Checks if a given object is iterable.

Install

$ npm install --save is-iterable

Usage

var isIterable = require('is-iterable');

isIterable([]); // true
isIterable({}); // false

License

MIT © Hemanth.HM