Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/util/genericOperators/scan.ts>scan

💧EventEmitter's typesafe replacement
Go to Latest
variable scan
import { scan } from "https://deno.land/x/evt@v2.4.16/lib/util/genericOperators/scan.ts";

type

<T, U>(accumulator: (
acc: U,
value: T,
index: number,
) => U
, seed: U
) => unknown