import baseRange from "./_baseRange.js";
import isIterateeCall from "./_isIterateeCall.js";
import toFinite from "./toFinite.js";
function createRange(fromRight) {
  return function(start, end, step) {
    if (step && typeof step != "number" && isIterateeCall(start, end, step)) {
      end = step = void 0;
    }
    start = toFinite(start);
    if (end === void 0) {
      end = start;
      start = 0;
    } else {
      end = toFinite(end);
    }
    step = step === void 0 ? start < end ? 1 : -1 : toFinite(step);
    return baseRange(start, end, step);
  };
}
export {
  createRange as default
};
//# sourceMappingURL=_createRange.js.map
