//#region src/is-lesser/index.d.ts /** * Creates a predicate function that determines if a value is less than a threshold. * * @template T - The type of the values (number or string) * @param threshold - The threshold value to compare against * @param value - The value to test * * @remarks * - Pure function with no side effects * - Uses JavaScript's `<` operator for comparison * - Works with both numbers and strings (lexicographic comparison for strings) * - Useful for array filtering and functional composition * * @example * ```typescript * const isBelowLimit = isLesser(100); * isBelowLimit(50); // true * isBelowLimit(150); // false * * const isBeforeM = isLesser('M'); * isBeforeM('A'); // true * isBeforeM('Z'); // false * * // Useful with arrays * const temperatures = [15, 25, 35, 45]; * const cool = temperatures.filter(isLesser(30)); // [15, 25] * ``` */ declare const isLesser: (threshold: T) => (value: T) => boolean; //#endregion export { isLesser }; //# sourceMappingURL=index.d.ts.map