"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _baseRange = require("./_baseRange.cjs");
const _isIterateeCall = require("./_isIterateeCall.cjs");
const toFinite = require("./toFinite.cjs");
function createRange(fromRight) {
  return function(start, end, step) {
    if (step && typeof step != "number" && _isIterateeCall.default(start, end, step)) {
      end = step = void 0;
    }
    start = toFinite.default(start);
    if (end === void 0) {
      end = start;
      start = 0;
    } else {
      end = toFinite.default(end);
    }
    step = step === void 0 ? start < end ? 1 : -1 : toFinite.default(step);
    return _baseRange.default(start, end, step);
  };
}
exports.default = createRange;
//# sourceMappingURL=_createRange.cjs.map
