UNPKG

@graphql-tools/executor

Version:

Fork of GraphQL.js' execute function

10 lines (9 loc) 303 B
/** * 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;