Type Alias AsyncComparator<T>

AsyncComparator: (a: T, b: T) => Promise<number>

Type Parameters

  • T

Type declaration

    • (a: T, b: T): Promise<number>
    • Parameters

      Returns Promise<number>