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