MCPcopy
hub / github.com/vuejs/core / reduce

Function reduce

packages/reactivity/src/arrayInstrumentations.ts:167–177  ·  view source on GitHub ↗
(
    fn: (
      acc: unknown,
      item: unknown,
      index: number,
      array: unknown[],
    ) => unknown,
    ...args: unknown[]
  )

Source from the content-addressed store, hash-verified

165 },
166
167 reduce(
168 fn: (
169 acc: unknown,
170 item: unknown,
171 index: number,
172 array: unknown[],
173 ) => unknown,
174 ...args: unknown[]
175 ) {
176 return reduce(this, 'reduce', fn, args)
177 },
178
179 reduceRight(
180 fn: (

Callers 1

reduceRightFunction · 0.85

Calls 3

isShallowFunction · 0.90
shallowReadArrayFunction · 0.85
toWrappedFunction · 0.85

Tested by

no test coverage detected