Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ isTemplateElement
Function
isTemplateElement
packages/core/src/sanitization/html_sanitizer.ts:353–355 ·
view source on GitHub ↗
(el: Node)
Source
from the content-addressed store, hash-verified
351
: null;
352
}
353
function
isTemplateElement(el: Node): el is HTMLTemplateElement {
354
return
el.nodeType === Node.ELEMENT_NODE && el.nodeName ===
'TEMPLATE'
;
355
}
Callers
1
getTemplateContent
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected