9 lines
290 B
TypeScript
9 lines
290 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
|
|
*
|
|
*/
|
|
export declare function naturalCompare(aStr: string, bStr: string): number;
|