Appearance
Checks if the BinaryHeap<T> is empty
BinaryHeap<T>
const heap = new BinaryHeap<number>(); heap.isEmpty // => true
This method is an O(1) operation.