Files
Odoo-GraphQL-Subscription-C…/graphql-subscription-express/node_modules/graphql/jsutils/naturalCompare.d.ts
2024-06-03 20:23:50 +05:30

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;