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

Function ɵɵpureFunction7

packages/core/src/render3/pure_function.ts:235–252  ·  view source on GitHub ↗
(
  slotOffset: number,
  pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any,
  exp1: any,
  exp2: any,
  exp3: any,
  exp4: any,
  exp5: any,
  exp6: any,
  exp7: any,
)

Source from the content-addressed store, hash-verified

233 * @codeGenApi
234 */
235export function ɵɵpureFunction7(
236 slotOffset: number,
237 pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any,
238 exp1: any,
239 exp2: any,
240 exp3: any,
241 exp4: any,
242 exp5: any,
243 exp6: any,
244 exp7: any,
245): any {
246 const bindingIndex = getBindingRoot() + slotOffset;
247 const lView = getLView();
248 let different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
249 return bindingUpdated3(lView, bindingIndex + 4, exp5, exp6, exp7) || different
250 ? updateBinding(lView, bindingIndex + 7, pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7))
251 : getBinding(lView, bindingIndex + 7);
252}
253
254/**
255 * If the value of any provided exp has changed, calls the pure function to return

Callers

nothing calls this directly

Calls 6

getBindingRootFunction · 0.90
getLViewFunction · 0.90
bindingUpdated4Function · 0.90
bindingUpdated3Function · 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…