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

Method getByIndex

packages/core/src/render3/queries/query.ts:160–163  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

158 }
159
160 getByIndex(index: number): TQuery {
161 ngDevMode && assertIndexInRange(this.queries, index);
162 return this.queries[index];
163 }
164
165 get length(): number {
166 return this.queries.length;

Callers 1

embeddedTViewMethod · 0.95

Calls 1

assertIndexInRangeFunction · 0.90

Tested by

no test coverage detected