method BinaryHeap.prototype.peek
BinaryHeap.prototype.peek(): T | undefinedReturns the greatest value in the binary heap, or undefined if it is empty.
Return Type
T | undefinedBinaryHeap.prototype.peek(): T | undefinedReturns the greatest value in the binary heap, or undefined if it is empty.
T | undefined