Sha256: 2233c4c8073cab0ce2d48da6b801b092fcaa4906972aa43e1550960cf09f95a8
Contents?: true
Size: 343 Bytes
Versions: 29
Compression:
Stored size: 343 Bytes
Contents
var classof = require('../internals/classof'); var Iterators = require('../internals/iterators'); var wellKnownSymbol = require('../internals/well-known-symbol'); var ITERATOR = wellKnownSymbol('iterator'); module.exports = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; };
Version data entries
29 entries across 28 versions & 9 rubygems