isiterable
v1.0.2
Published
Detect if an object is iterable
Downloads
4
Readme
isiterable
Easily detect if an object is iterable.
Usage
var isiterable = require('isiterable');
var iterable = isiterable([ 1, 2, 3, 4]); // true
var notIterable = isiterable(5); // false