@sapphire/utilities
Version:
Common JavaScript utilities for the Sapphire Community
14 lines (11 loc) • 414 B
JavaScript
;
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// src/lib/range.ts
function range(min, max, step) {
return new Array(Math.floor((max - min) / step) + 1).fill(0).map((_val, i) => min + i * step);
}
__name(range, "range");
exports.range = range;
//# sourceMappingURL=range.cjs.map
//# sourceMappingURL=range.cjs.map