Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/better_iterators/mod.ts>Lazy#fold

Chainable iterators (sync and async) for TypeScript, with support for opt-in, bounded parallelism
Go to Latest
method Lazy.prototype.fold
import { Lazy } from "https://deno.land/x/better_iterators@v1.2.0/mod.ts";

Parameters

initial: I
foldFn: (i: I, t: T) => I