"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.steps = function (count, pos) {
    var q = count / 1;
    var p = pos === 'end'
        ? 0 : pos === 'start'
        ? 1 : pos || 0;
    return function (x) { return x >= 1 ? 1 : (p * q + x) - (p * q + x) % q; };
};
//# sourceMappingURL=steps.js.map