data-forge
Version:
JavaScript data transformation and analysis toolkit inspired by Pandas and LINQ.
20 lines • 563 B
JavaScript
;
//
// An iterator that simply counts up from zero.
// This creates the default index in Data-Forge.
//
Object.defineProperty(exports, "__esModule", { value: true });
var CountIterator = /** @class */ (function () {
function CountIterator() {
this.index = 0;
}
CountIterator.prototype.next = function () {
return {
done: false,
value: this.index++
};
};
return CountIterator;
}());
exports.CountIterator = CountIterator;
//# sourceMappingURL=count-iterator.js.map