UNPKG

data-forge

Version:

JavaScript data transformation and analysis toolkit inspired by Pandas and LINQ.

17 lines 524 B
"use strict"; // // An iterator that iterates the a "cached iterator" iterable. // Object.defineProperty(exports, "__esModule", { value: true }); var CachedIterator = /** @class */ (function () { function CachedIterator(iterable) { this.iterable = iterable; this.index = 0; } CachedIterator.prototype.next = function () { return this.iterable._next(this.index++); }; return CachedIterator; }()); exports.CachedIterator = CachedIterator; //# sourceMappingURL=cached-iterator.js.map