• Creates a new max-heap. It is equivalent to minHeap(reversed(order))(data).

    Type Parameters

    • T

    Parameters

    • order: Ord<T, T>

      A total order for T.

    Returns (<S>(data) => Mut<S, MutRef<S, BinaryHeap<T>>>)

    The new max-heap.

Generated using TypeDoc