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

Function isTemplateElement

packages/core/src/sanitization/html_sanitizer.ts:358–360  ·  view source on GitHub ↗
(el: Node)

Source from the content-addressed store, hash-verified

356 : null;
357}
358function isTemplateElement(el: Node): el is HTMLTemplateElement {
359 return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
360}

Callers 1

getTemplateContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected