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

Function find

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

Source from the content-addressed store, hash-verified

81 },
82
83 find(
84 fn: (item: unknown, index: number, array: unknown[]) => boolean,
85 thisArg?: unknown,
86 ) {
87 return apply(
88 this,
89 'find',
90 fn,
91 thisArg,
92 item => toWrapped(this, item),
93 arguments,
94 )
95 },
96
97 findIndex(
98 fn: (item: unknown, index: number, array: unknown[]) => boolean,

Callers

nothing calls this directly

Calls 2

applyFunction · 0.85
toWrappedFunction · 0.85

Tested by

no test coverage detected