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

Function isTeleport

packages/runtime-core/src/components/Teleport.ts:31–31  ·  view source on GitHub ↗
(type: any)

Source from the content-addressed store, hash-verified

29export const TeleportEndKey: unique symbol = Symbol('_vte')
30
31export const isTeleport = (type: any): boolean => type.__isTeleport
32
33const isTeleportDisabled = (props: VNode['props']): boolean =>
34 props && (props.disabled || props.disabled === '')

Callers 2

_createVNodeFunction · 0.90
getInnerChildFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected