Type Alias IComparer<TKey>

IComparer: (x: TKey, y: TKey) => number

Compares two numbers for sorting

Type Parameters

  • TKey

Type declaration