Addressable Binary Heaps - v1.0.1
    Preparing search index...

    Function size

    • Returns the current number of elements in the max-heap.

      Type Parameters

      Parameters

      • instance: H

        The max-heap instance.

      Returns number

      The number of elements in the heap.