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

Function isVSlot

packages/compiler-core/src/utils.ts:351–353  ·  view source on GitHub ↗
(p: ElementNode['props'][0])

Source from the content-addressed store, hash-verified

349}
350
351export function isVSlot(p: ElementNode['props'][0]): p is DirectiveNode {
352 return p.type === NodeTypes.DIRECTIVE && p.name === 'slot'
353}
354
355export function isTemplateNode(
356 node: RootNode | TemplateChildNode,

Callers 1

buildSlotsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected