method Iterator.prototype.peekableimport { Iterator } from "https://deno.land/x/ahh@v0.14.0/src/iterator.ts"; peekable(): Peekable<T>Creates an Iterator that can return the next item without consuming it. ExamplesExample 1 import { assert } from "../test_deps.ts"; import I from "./iterator.ts"; const iter = I.fromIter([1, 2, 3]).peekable(); assert(iter.peek() === 1); assert(iter.peek() === 1); assert(iter.next() === 1); ReturnsPeekable<T>