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

Function assertIndexInExpandoRange

packages/core/src/render3/assert.ts:136–139  ·  view source on GitHub ↗
(lView: LView, index: number)

Source from the content-addressed store, hash-verified

134}
135
136export function assertIndexInExpandoRange(lView: LView, index: number) {
137 const tView = lView[1];
138 assertBetween(tView.expandoStartIndex, lView.length, index);
139}
140
141export function assertBetween(lower: number, upper: number, index: number) {
142 if (!(lower <= index && index < upper)) {

Callers 2

applyMutableOpCodesFunction · 0.90
assertNodeInjectorFunction · 0.85

Calls 1

assertBetweenFunction · 0.85

Tested by

no test coverage detected