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

Function load

packages/core/src/render3/util/view_utils.ts:136–139  ·  view source on GitHub ↗
(view: LView | TData, index: number)

Source from the content-addressed store, hash-verified

134
135/** Retrieves a value from any `LView` or `TData`. */
136export function load<T>(view: LView | TData, index: number): T {
137 ngDevMode && assertIndexInRange(view, index);
138 return view[index];
139}
140
141/** Store a value in the `data` at a given `index`. */
142export function store<T>(tView: TView, lView: LView, index: number, value: T): void {

Callers 7

ɵɵpipeBind1Function · 0.90
ɵɵpipeBind2Function · 0.90
ɵɵpipeBind3Function · 0.90
ɵɵpipeBind4Function · 0.90
ɵɵpipeBindVFunction · 0.90
ɵɵreferenceFunction · 0.90
ɵɵreadContextLetFunction · 0.90

Calls 1

assertIndexInRangeFunction · 0.90

Tested by

no test coverage detected