3 var isString = require('es5-ext/string/is-string')
4 , iteratorSymbol = require('es6-symbol').iterator
6 , isArray = Array.isArray;
8 module.exports = function (value) {
9 if (value == null) return false;
10 if (isArray(value)) return true;
11 if (isString(value)) return true;
12 return (typeof value[iteratorSymbol] === 'function');