Type alias HeapOptions<T>

HeapOptions<T>: {
    priorityExtractor?: ((element) => number);
}

Type Parameters

  • T

Type declaration

  • Optional priorityExtractor?: ((element) => number)
      • (element): number
      • Parameters

        • element: T

        Returns number

Generated using TypeDoc