Type alias IComparer<TKey>

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

Type Parameters

  • TKey

Type declaration

    • (x, y): number
    • Compares two numbers for sorting

      Parameters

      • x: TKey
      • y: TKey

      Returns number

Generated using TypeDoc