import { Iterator } from "https://deno.land/x/ahh@v0.13.0/mod.ts";
Implemented by classes that can be iterated.
Methods
Creates an Iterator
that yields items from this
and other
sequentially.
Creates an Iterator
that yields the iteration count and next
item.
Creates an Iterator
that yields items for which fn
returns
true
.
intersperse(other: Iterator<T>): Iterator<T>
Creates an Iterator
that yields items from this
and other
interspersedly.
Creates an Iterator
that calls fn
one each item of this
.
Creates an Iterator
that yields items from this
and other
simultaneously.
[Symbol.iterator](): globalThis.Iterator<T>