Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ isComment
Function
isComment
tools/postcss/compare-nodes.ts:63–65 ·
view source on GitHub ↗
Asserts that a node is a `Comment`.
(node: Node)
Source
from the content-addressed store, hash-verified
61
62
/** Asserts that a node is a `Comment`. */
63
function
isComment(node: Node): node is Comment {
64
return
node.
type
===
'comment'
;
65
}
Callers
1
compareNodes
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected