//#region src/is-greater/index.d.ts /** * Creates a predicate function that determines if a value is greater 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 isGreaterThan10 = isGreater(10); * isGreaterThan10(15); // true * isGreaterThan10(5); // false * * const isAfterM = isGreater('M'); * isAfterM('Z'); // true * isAfterM('A'); // false * * // Useful with arrays * const numbers = [1, 5, 10, 15, 20]; * const greaterThan10 = numbers.filter(isGreater(10)); // [15, 20] * ``` */ declare const isGreater: (threshold: T) => (value: T) => boolean; //#endregion export { isGreater }; //# sourceMappingURL=index.d.ts.map