Sha256: 48f9850024894f2ea97b74efbe25f4ef4f6f07424cd9a9a73fb1205b4417b0f7

Contents?: true

Size: 290 Bytes

Versions: 26

Compression:

Stored size: 290 Bytes

Contents

/**
 * 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;

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.6 lib/clapton/javascripts/node_modules/graphql/jsutils/naturalCompare.d.ts
clapton-0.0.5 lib/clapton/javascripts/node_modules/graphql/jsutils/naturalCompare.d.ts
clapton-0.0.4 lib/clapton/javascripts/node_modules/graphql/jsutils/naturalCompare.d.ts
clapton-0.0.3 lib/clapton/javascripts/node_modules/graphql/jsutils/naturalCompare.d.ts
clapton-0.0.2 lib/clapton/javascripts/node_modules/graphql/jsutils/naturalCompare.d.ts
clapton-0.0.1 lib/clapton/javascripts/node_modules/graphql/jsutils/naturalCompare.d.ts