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

Method hasElement

packages/compiler/test/render3/view/util.ts:40–43  ·  view source on GitHub ↗
(tagName: string, schemaMetas: any[])

Source from the content-addressed store, hash-verified

38 }
39
40 hasElement(tagName: string, schemaMetas: any[]): boolean {
41 const value = this.existingElements[tagName.toLowerCase()];
42 return value === void 0 ? true : value;
43 }
44
45 allKnownElementNames(): string[] {
46 return Object.keys(this.existingElements);

Callers 3

checkElementMethod · 0.45
checkElementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected