Method ADT.Heap()->peek()
- Method
peek
 ValueTypepeek()- Description
 Returns the item on top of the heap (which is also the smallest value in the heap) without removing it.
- Returns
 Returns the smallest value on the heap if any, and
UNDEFINEDotherwise.- See also