MCPcopy Index your code
hub / github.com/nodejs/node / reduce

Method reduce

deps/undici/src/types/fetch.d.ts:75–75  ·  view source on GitHub ↗
(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T)

Source from the content-addressed store, hash-verified

73 drop(count: number): SpecIteratorObject<T>;
74 flatMap<U>(callbackfn: (value: T, index: number) => Iterator<U> | Iterable<U>): SpecIteratorObject<U>;
75 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T): T;
76 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T, initialValue: T): T;
77 reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U;
78 toArray(): T[];

Callers 15

generateOptionalChainingFunction · 0.80
url.jsFile · 0.80
convertProtocolsFunction · 0.80
highlightRegExpFunction · 0.80
calculateStatsFunction · 0.80
mainFunction · 0.80
setupFunction · 0.80
paramGeneratorFunction · 0.80
paramGeneratorFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected