MCPcopy
hub / github.com/vuejs/composition-api / isComponentInstance

Function isComponentInstance

src/utils/helper.ts:37–40  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

35}
36
37export function isComponentInstance(obj: any) {
38 const Vue = getVueConstructor()
39 return Vue && obj instanceof Vue
40}
41
42export function createSlotProxy(vm: ComponentInstance, slotName: string): Slot {
43 return ((...args: any) => {

Callers 1

setupAccessControlFunction · 0.90

Calls 1

getVueConstructorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…