MCPcopy
hub / github.com/angular/angular / reduce

Method reduce

packages/core/src/linker/query_list.ts:108–110  ·  view source on GitHub ↗

* See * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)

(fn: (prevValue: U, curValue: T, curIndex: number, array: T[]) => U, init: U)

Source from the content-addressed store, hash-verified

106 * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)
107 */
108 reduce<U>(fn: (prevValue: U, curValue: T, curIndex: number, array: T[]) => U, init: U): U {
109 return this._results.reduce(fn, init);
110 }
111
112 /**
113 * See

Callers 15

_addFrameMetricsMethod · 0.80
_isEventMethod · 0.80
addTagsMethod · 0.80
listMethod · 0.80
_sha1Function · 0.80
words32ToByteStringFunction · 0.80
initializeFullyMethod · 0.80
initializeFullyMethod · 0.80
handleFetchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected