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