import { getMiddleOfRange } from "./getMiddleOfRange.js";
/**
 * @internal
 * @remarks \@since 6.0.0
 */ export function getRangeDefaultValue(options) {
    const { defaultValue } = options;
    if (typeof defaultValue !== "undefined") {
        return defaultValue;
    }
    return ()=>getMiddleOfRange(options);
}

//# sourceMappingURL=getRangeDefaultValue.js.map