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

Function getMetaKeyMap

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

Source from the content-addressed store, hash-verified

214}
215
216function getMetaKeyMap(prop: string): string {
217 return Object.hasOwn(META_KEYS_MAP, prop) ? META_KEYS_MAP[prop] : prop;
218}
219
220function isMetaTag(tag: HTMLElement | null): tag is HTMLMetaElement {
221 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