import { Lazy } from "https://deno.land/x/better_iterators@v1.1.0/mod.ts";
Constructors
new
private
Lazy(iter: Iterable<T>)Methods
associateBy<Key>(uniqueKeyFn: Transform<T, Key>): Map<Key, T>
Given uniqueKeyFn
, use it to extract a key from each item, and create a
1:1 map from that to each item.
partition(f: Filter<T>): Partitioned<T>
Partition items into matches
and others
according to Filter f
.
[Symbol.iterator](): Iterator<T>