]> git.r.bdr.sh - rbdr/dotfiles/blob
bb8bf287276bee18b370817572a5310d1bb57f16
[rbdr/dotfiles] /
1 'use strict';
2
3 var iteratorSymbol = require('es6-symbol').iterator
4 , isArrayLike = require('../object/is-array-like');
5
6 module.exports = function (x) {
7 if (x == null) return false;
8 if (typeof x[iteratorSymbol] === 'function') return true;
9 return isArrayLike(x);
10 };