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

Function getDepFromReactive

packages/reactivity/src/dep.ts:391–397  ·  view source on GitHub ↗
(
  object: any,
  key: string | number | symbol,
)

Source from the content-addressed store, hash-verified

389}
390
391export function getDepFromReactive(
392 object: any,
393 key: string | number | symbol,
394): Dep | undefined {
395 const depMap = targetMap.get(object)
396 return depMap && depMap.get(key)
397}

Callers 3

depMethod · 0.90
gc.spec.tsFile · 0.90
effect.spec.tsFile · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected