import { Iterator } from "https://deno.land/x/ahh@v0.12.3/mod.ts";
An interface for types that can be iterated over.
Methods
Creates an Iterator
that yields the iteration count as well as
the next value.
Creates an Iterator
that yields items for which fn
returns true
.
Consumes an Iterator
until fn
returns true
and
returns the item.
Consumes an Iterator
and calls fn
on each item to
collect them into init
.
Creates an Iterator
that skips items while fn
returns true
.
Creates an Iterator
that takes items while fn
returns true
.
[Symbol.iterator](): globalThis.Iterator<T>