MCPcopy Index your code
hub / github.com/angular/angular / ɵɵpureFunction0

Function ɵɵpureFunction0

packages/core/src/render3/pure_function.ts:50–56  ·  view source on GitHub ↗
(slotOffset: number, pureFn: () => T)

Source from the content-addressed store, hash-verified

48 * @codeGenApi
49 */
50export function ɵɵpureFunction0<T>(slotOffset: number, pureFn: () => T): T {
51 const bindingIndex = getBindingRoot() + slotOffset;
52 const lView = getLView();
53 return lView[bindingIndex] === NO_CHANGE
54 ? updateBinding(lView, bindingIndex, pureFn())
55 : getBinding(lView, bindingIndex);
56}
57
58/**
59 * If the value of the provided exp has changed, calls the pure function to return

Callers

nothing calls this directly

Calls 4

getBindingRootFunction · 0.90
getLViewFunction · 0.90
updateBindingFunction · 0.90
getBindingFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…