Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ isCommentOrWhitespace
Function
isCommentOrWhitespace
packages/compiler-core/src/utils.ts:589–591 ·
view source on GitHub ↗
(node: TemplateChildNode)
Source
from the content-addressed store, hash-verified
587
}
588
589
export
function
isCommentOrWhitespace(node: TemplateChildNode): boolean {
590
return
node.
type
=== NodeTypes.COMMENT || isWhitespaceText(node)
591
}
Callers
4
hasMultipleChildren
Function · 0.90
processIf
Function · 0.90
buildSlots
Function · 0.90
filterChild
Function · 0.85
Calls
1
isWhitespaceText
Function · 0.85
Tested by
no test coverage detected