• Removes an element from the min-heap.

    Type Parameters

    Parameters

    • instance: H

      The min-heap instance.

    • node: H[0]

      The element to remove.

    Returns boolean

    true or false depending on the outcome of the removal process.