is-iterable
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-iterable package

1.1.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    358,394
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    358,394
  • 1.1.0
    4
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i is-iterable

Weekly Downloads

340,938

Version

1.1.1

License

MIT

Last publish

Collaborators

  • derhuerst
  • hemanth