//#region src/is-between/index.d.ts /** * Creates a predicate function that determines if a number is between two bounds (inclusive). * * @param bounds - The tuple containing the lower and upper bounds (order doesn't matter) * @param value - The number to test * * @remarks * - Pure function with no side effects * - Inclusive on both ends (`>=` lower bound and `<=` upper bound) * - Automatically sorts bounds, so order doesn't matter in the tuple * * @example * ```typescript * const isValidScore = isBetween([0, 100]); * isValidScore(89); // true * isValidScore(150); // false * isValidScore(0); // true (inclusive) * * // Order doesn't matter * const isInRange = isBetween([100, 0]); * isInRange(50); // true * ``` */ declare const isBetween: (bounds: [number, number]) => (c: number) => boolean; //#endregion export { isBetween }; //# sourceMappingURL=index.d.ts.map