MCPcopy Index your code
hub / github.com/angular/angular / isCommentNode

Function isCommentNode

packages/private/testing/src/browser_utils.ts:97–99  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

95}
96
97export function isCommentNode(node: Node): boolean {
98 return node.nodeType === Node.COMMENT_NODE;
99}
100
101export function isTextNode(node: Node): boolean {
102 return node.nodeType === Node.TEXT_NODE;

Callers 3

elementTextFunction · 0.90
stringifyElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…