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

Function _isOpeningComment

packages/compiler/src/i18n/extractor_merger.ts:622–624  ·  view source on GitHub ↗
(n: html.Node)

Source from the content-addressed store, hash-verified

620}
621
622function _isOpeningComment(n: html.Node): boolean {
623 return !!(n instanceof html.Comment && n.value && n.value.startsWith('i18n'));
624}
625
626function _isClosingComment(n: html.Node): boolean {
627 return !!(n instanceof html.Comment && n.value && n.value === '/i18n');

Callers 1

visitCommentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected