Sha256: 7566b10ce98fb6859b53992221a5805cf1d0bab983c223cfce93330e002ffc22
Contents?: true
Size: 361 Bytes
Versions: 36
Compression:
Stored size: 361 Bytes
Contents
var wellKnownSymbol = require('../internals/well-known-symbol'); var Iterators = require('../internals/iterators'); var ITERATOR = wellKnownSymbol('iterator'); var ArrayPrototype = Array.prototype; // check on default Array iterator module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); };
Version data entries
36 entries across 35 versions & 9 rubygems