Sha256: 4aa421cb9a1ea1c20eca00b539c7f5df96e669251299ae23db7de39297575f07

Contents?: true

Size: 321 Bytes

Versions: 34

Compression:

Stored size: 321 Bytes

Contents

var classof   = require('./$.classof')
  , ITERATOR  = require('./$.wks')('iterator')
  , Iterators = require('./$.iterators');
module.exports = require('./$.core').isIterable = function(it){
  var O = Object(it);
  return O[ITERATOR] !== undefined
    || '@@iterator' in O
    || Iterators.hasOwnProperty(classof(O));
};

Version data entries

34 entries across 17 versions & 7 rubygems

Version Path
ilog-0.4.1 node_modules/core-js/modules/core.is-iterable.js
ilog-0.4.1 node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.4.0 node_modules/core-js/modules/core.is-iterable.js
ilog-0.4.0 node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.3.3 node_modules/core-js/modules/core.is-iterable.js
ilog-0.3.3 node_modules/core-js/library/modules/core.is-iterable.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/fbjs/node_modules/core-js/library/modules/core.is-iterable.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/fbjs/node_modules/core-js/modules/core.is-iterable.js
locomotivecms-3.4.0 app/javascript/node_modules/fbjs/node_modules/core-js/library/modules/core.is-iterable.js
locomotivecms-3.4.0 app/javascript/node_modules/fbjs/node_modules/core-js/modules/core.is-iterable.js
cortex-0.1.3 spec/dummy/node_modules/fbjs/node_modules/core-js/library/modules/core.is-iterable.js
cortex-0.1.3 spec/dummy/node_modules/fbjs/node_modules/core-js/modules/core.is-iterable.js
lanes-0.8.0 node_modules/core-js/library/modules/core.is-iterable.js
lanes-0.8.0 node_modules/core-js/modules/core.is-iterable.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/core-js/library/modules/core.is-iterable.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/core-js/modules/core.is-iterable.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/core-js/library/modules/core.is-iterable.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/core-js/modules/core.is-iterable.js
babel-schmooze-sprockets-0.1.3 node_modules/core-js/modules/core.is-iterable.js
babel-schmooze-sprockets-0.1.3 node_modules/core-js/library/modules/core.is-iterable.js