MCPcopy Index your code
hub / github.com/angular/angular / getBinding

Function getBinding

packages/core/src/render3/bindings.ts:24–29  ·  view source on GitHub ↗
(lView: LView, bindingIndex: number)

Source from the content-addressed store, hash-verified

22
23/** Gets the current binding value. */
24export function getBinding(lView: LView, bindingIndex: number): any {
25 ngDevMode && assertIndexInRange(lView, bindingIndex);
26 ngDevMode &&
27 assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');
28 return lView[bindingIndex];
29}
30
31/**
32 * Updates binding if changed, then returns whether it was updated.

Callers 6

ɵɵpureFunction0Function · 0.90
ɵɵpureFunction5Function · 0.90
ɵɵpureFunction6Function · 0.90
ɵɵpureFunction7Function · 0.90
ɵɵpureFunction8Function · 0.90
ɵɵarrowFunctionFunction · 0.90

Calls 2

assertIndexInRangeFunction · 0.90
assertNotSameFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…