Sha256: 712e1d6afdaf11ebfd30fb3a04c5ecb51ef1f71d4a39d77f03e6b663871b1f6c

Contents?: true

Size: 373 Bytes

Versions: 64

Compression:

Stored size: 373 Bytes

Contents

var classof = require('./_classof');
var ITERATOR = require('./_wks')('iterator');
var Iterators = require('./_iterators');
module.exports = require('./_core').isIterable = function (it) {
  var O = Object(it);
  return O[ITERATOR] !== undefined
    || '@@iterator' in O
    // eslint-disable-next-line no-prototype-builtins
    || Iterators.hasOwnProperty(classof(O));
};

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/core.is-iterable.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/core.is-iterable.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/core.is-iterable.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/core.is-iterable.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/core.is-iterable.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/core.is-iterable.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/core.is-iterable.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/core.is-iterable.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/core.is-iterable.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/core.is-iterable.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/core.is-iterable.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/core.is-iterable.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/core.is-iterable.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/library/modules/core.is-iterable.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/modules/core.is-iterable.js