Sha256: 305410ac439fc43d44d63c9b0b29b251e53554746048afcb241163e03b494c10
Contents?: true
Size: 414 Bytes
Versions: 9
Compression:
Stored size: 414 Bytes
Contents
function _iterableToArrayLimitLoose(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { _arr.push(_step.value); if (i && _arr.length === i) break; } return _arr; } module.exports = _iterableToArrayLimitLoose;
Version data entries
9 entries across 9 versions & 3 rubygems