MCPcopy
hub / github.com/angular/angular / hasElement

Method hasElement

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

Source from the content-addressed store, hash-verified

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

Callers 2

checkElementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected