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

Function isSlotOutlet

packages/compiler-core/src/utils.ts:363–367  ·  view source on GitHub ↗
(
  node: RootNode | TemplateChildNode,
)

Source from the content-addressed store, hash-verified

361}
362
363export function isSlotOutlet(
364 node: RootNode | TemplateChildNode,
365): node is SlotOutletNode {
366 return node.type === NodeTypes.ELEMENT && node.tagType === ElementTypes.SLOT
367}
368
369const propsHelperSet = new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS])
370

Callers 4

transformSlotOutletFunction · 0.90
getSingleElementRootFunction · 0.90
vFor.tsFile · 0.90
ssrTransformSlotOutletFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected