graphql
Version:
A Query Language and Runtime which can target any service.
10 lines (9 loc) • 303 B
TypeScript
/**
* Returns a number indicating whether a reference string comes before, or after,
* or is the same as the given string in natural sort order.
*
* See: https://en.wikipedia.org/wiki/Natural_sort_order
*
* @internal
*/
export declare function naturalCompare(aStr: string, bStr: string): number;