UNPKG

@thi.ng/compare

Version:

Comparators with support for types implementing the @thi.ng/api/ICompare interface

9 lines 269 B
import type { Comparator } from "@thi.ng/api"; /** * HOF comparator. Returns new comparator with reversed order of given * comparator. * * @param cmp - */ export declare const reverse: <T>(cmp: Comparator<T>) => Comparator<T>; //# sourceMappingURL=reverse.d.ts.map