Sha256: 169739ac9446511a2bec56c70583e7b9f8f91612eaad640de949c86f763351c3

Contents?: true

Size: 297 Bytes

Versions: 40

Compression:

Stored size: 297 Bytes

Contents

var anObject = require('./$.an-object')
  , get      = require('./core.get-iterator-method');
module.exports = require('./$.core').getIterator = function(it){
  var iterFn = get(it);
  if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
  return anObject(iterFn.call(it));
};

Version data entries

40 entries across 18 versions & 7 rubygems

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