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

Function getMetaKeyMap

packages/platform-browser/src/browser/meta.ts:215–217  ·  view source on GitHub ↗
(prop: string)

Source from the content-addressed store, hash-verified

213}
214
215function getMetaKeyMap(prop: string): string {
216 return Object.hasOwn(META_KEYS_MAP, prop) ? META_KEYS_MAP[prop] : prop;
217}
218
219function isMetaTag(tag: HTMLElement | null): tag is HTMLMetaElement {
220 return tag?.nodeName.toLowerCase() === 'meta';

Callers 3

setMetaElementAttributesFunction · 0.85
validateMetaDefinitionFunction · 0.85
containsAttributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected