MCPcopy Create free account
hub / github.com/angular/angular / isCommentNode

Function isCommentNode

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

Source from the content-addressed store, hash-verified

100}
101
102export function isCommentNode(node: Node): boolean {
103 return node.nodeType === Node.COMMENT_NODE;
104}
105
106export function isTextNode(node: Node): boolean {
107 return node.nodeType === Node.TEXT_NODE;

Callers 3

elementTextFunction · 0.90
stringifyElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected