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

Function isMetaTag

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

Source from the content-addressed store, hash-verified

217}
218
219function isMetaTag(tag: HTMLElement | null): tag is HTMLMetaElement {
220 return tag?.nodeName.toLowerCase() === 'meta';
221}
222
223/**
224 * 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