(slotOffset: number, pureFn: () => T)
| 48 | * @codeGenApi |
| 49 | */ |
| 50 | export 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…