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

Function isTemplateNode

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

Source from the content-addressed store, hash-verified

353}
354
355export function isTemplateNode(
356 node: RootNode | TemplateChildNode,
357): node is TemplateNode {
358 return (
359 node.type === NodeTypes.ELEMENT && node.tagType === ElementTypes.TEMPLATE
360 )
361}
362
363export function isSlotOutlet(
364 node: RootNode | TemplateChildNode,

Callers 4

trackVForSlotScopesFunction · 0.90
buildSlotsFunction · 0.90
vFor.tsFile · 0.90
processForFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected