naturalCompare.d.ts 290 B

12345678
  1. /**
  2. * Returns a number indicating whether a reference string comes before, or after,
  3. * or is the same as the given string in natural sort order.
  4. *
  5. * See: https://en.wikipedia.org/wiki/Natural_sort_order
  6. *
  7. */
  8. export declare function naturalCompare(aStr: string, bStr: string): number;