Sha256: 5617c3d94835e32a2bab133535a675fb89758f615195eff9085f68d5f271cd8d
Contents?: true
Size: 895 Bytes
Versions: 60
Compression:
Stored size: 895 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = iterationDecorator; var _iteratorProxy = _interopRequireDefault(require("./iteratorProxy")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function iterationDecorator(collection, entries) { if (typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol') { Object.defineProperty(collection, Symbol.iterator, { value: _iteratorProxy.default.bind(entries) }); } return collection; }
Version data entries
60 entries across 46 versions & 4 rubygems