1 | /**
|
2 | * Compares two identifiers, must be numeric strings or truthy/falsy values.
|
3 | *
|
4 | * Sorts in ascending order when passed to `Array.sort()`.
|
5 | */
|
6 | export function compareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
|
7 |
|
8 | /**
|
9 | * The reverse of compareIdentifiers.
|
10 | *
|
11 | * Sorts in descending order when passed to `Array.sort()`.
|
12 | */
|
13 | export function rcompareIdentifiers(a: string | null | undefined, b: string | null | undefined): 1 | 0 | -1;
|