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

Function createInternalObject

packages/runtime-core/src/internalObject.ts:9–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7const internalObjectProto = {}
8
9export const createInternalObject = (): any =>
10 Object.create(internalObjectProto)
11
12export const isInternalObject = (obj: object): boolean =>
13 Object.getPrototypeOf(obj) === internalObjectProto

Callers 2

initSlotsFunction · 0.90
initPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected