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

Function isVPre

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

Source from the content-addressed store, hash-verified

345}
346
347export function isVPre(p: ElementNode['props'][0]): p is DirectiveNode {
348 return p.type === NodeTypes.DIRECTIVE && p.name === 'pre'
349}
350
351export function isVSlot(p: ElementNode['props'][0]): p is DirectiveNode {
352 return p.type === NodeTypes.DIRECTIVE && p.name === 'slot'

Callers 2

ondirargFunction · 0.90
ondirmodifierFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected