method BinaryHeap.prototype.peekimport { BinaryHeap } from "https://deno.land/std@0.155.0/collections/mod.ts"; peek(): T | undefinedReturns the greatest value in the binary heap, or undefined if it is empty. ReturnsT | undefined