@f/is-iterable

Check if iterable.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
01Dec 21, 2015Dec 21, 2015Minified + gzip package size for @f/is-iterable in KB

Readme

is-iterable

Build status Git tag NPM version Code style

Check if iterable.

Installation

$ npm install @f/is-iterable

Usage

var isIterable = require('@f/is-iterable')

isIterable('foo') // => true
isIterable([1, 2, 3]) // => true
isIterable(1) // => false

API

isIterable(obj)

  • obj - Object to check if iterable.

Returns: Boolean indicating iterable.

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.