@thi.ng/compare
Version: 
Comparators with support for types implementing the @thi.ng/api/ICompare interface
16 lines • 370 B
TypeScript
import type { Comparator, ILength } from "@thi.ng/api";
/**
 * Length comparator (ascending order)
 *
 * @param a -
 * @param b -
 */
export declare const compareLengthAsc: Comparator<ILength>;
/**
 * Length comparator (descending order)
 *
 * @param a -
 * @param b -
 */
export declare const compareLengthDesc: Comparator<ILength>;
//# sourceMappingURL=length.d.ts.map