Type alias Comparator<T>

Comparator<T>: ((x, y) => number)

Type Parameters

  • T

Type declaration

    • (x, y): number
    • Parameters

      Returns number