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

Function getProto

packages/reactivity/src/collectionHandlers.ts:30–31  ·  view source on GitHub ↗
(v: T)

Source from the content-addressed store, hash-verified

28const toShallow = <T extends unknown>(value: T): T => value
29
30const getProto = <T extends CollectionTypes>(v: T): any =>
31 Reflect.getPrototypeOf(v)
32
33function createIterableMethod(
34 method: string | symbol,

Callers 4

getFunction · 0.85
addFunction · 0.85
setFunction · 0.85
deleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected