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

Function isMetaTag

packages/platform-browser/src/browser/meta.ts:202–204  ·  view source on GitHub ↗
(tag: HTMLElement | null)

Source from the content-addressed store, hash-verified

200}
201
202function isMetaTag(tag: HTMLElement | null): tag is HTMLMetaElement {
203 return tag?.nodeName.toLowerCase() === 'meta';
204}
205
206/**
207 * Mapping for MetaDefinition properties with their correct meta attribute names

Callers 2

getTagMethod · 0.85
getTagsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected