Skip to main content
Module

x/purify/src/typeclasses/Foldable.ts>Foldable

Functional programming library for TypeScript, Ported to Deno - https://gigobyte.github.io/purify/
Latest
interface Foldable
import { type Foldable } from "https://deno.land/x/purify@v0.11/src/typeclasses/Foldable.ts";

Properties

optional
fantasy-land/reduce: Foldable<T>["reduce"]

Methods

reduce<U>(reducer: (accumulator: U, value: T) => U, initialValue: U): U