(Available since version 1.0)
Heap::isEmpty — Checks whether the heap is empty
This function has no parameters.
Returns whether the heap is empty.