UNPKG

tamda

Version:

Practical functional programming library for TypeScript

9 lines (8 loc) 232 B
/** * Compares two strings, `a` and `b`, on equality, greater than or lesser than. * @returns * - 1 if `a > b` * - -1 if `b > a` * - 0 otherwise */ export declare function compareString(a: string, b: any): -1 | 0 | 1;