Module

x/pg_mem/utils.ts>IteratorHelper#reduce

An in memory postgres DB instance for your unit tests
Go to Latest
method IteratorHelper.prototype.reduce
import { IteratorHelper } from "https://dotland.deno.dev/x/pg_mem@2.6.3/utils.ts";

Parameters

callbackfn: (
previousValue: U,
currentValue: T,
currentIndex: number,
) => U
initialValue: U