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

Function forEach

packages/reactivity/src/arrayInstrumentations.ts:127–132  ·  view source on GitHub ↗
(
    fn: (item: unknown, index: number, array: unknown[]) => unknown,
    thisArg?: unknown,
  )

Source from the content-addressed store, hash-verified

125 // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
126
127 forEach(
128 fn: (item: unknown, index: number, array: unknown[]) => unknown,
129 thisArg?: unknown,
130 ) {
131 return apply(this, 'forEach', fn, thisArg, undefined, arguments)
132 },
133
134 includes(...args: unknown[]) {
135 return searchProxy(this, 'includes', args)

Callers

nothing calls this directly

Calls 1

applyFunction · 0.85

Tested by

no test coverage detected