• Sorts and extracts the internal items of the heap. It will take O(n log n).

    Type Parameters

    • S

    • T

    Parameters

    Returns Mut<S, readonly T[]>

    The sorted items.

Generated using TypeDoc