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

Function getMetaKeyMap

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

Source from the content-addressed store, hash-verified

196}
197
198function getMetaKeyMap(prop: string): string {
199 return META_KEYS_MAP[prop] || prop;
200}
201
202function isMetaTag(tag: HTMLElement | null): tag is HTMLMetaElement {
203 return tag?.nodeName.toLowerCase() === 'meta';

Callers 2

setMetaElementAttributesFunction · 0.85
containsAttributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected