( lView: LView, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, thisArg?: any, )
| 433 | * |
| 434 | */ |
| 435 | export function pureFunction4Internal( |
| 436 | lView: LView, |
| 437 | bindingRoot: number, |
| 438 | slotOffset: number, |
| 439 | pureFn: (v1: any, v2: any, v3: any, v4: any) => any, |
| 440 | exp1: any, |
| 441 | exp2: any, |
| 442 | exp3: any, |
| 443 | exp4: any, |
| 444 | thisArg?: any, |
| 445 | ): any { |
| 446 | const bindingIndex = bindingRoot + slotOffset; |
| 447 | return bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) |
| 448 | ? updateBinding( |
| 449 | lView, |
| 450 | bindingIndex + 4, |
| 451 | thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4) : pureFn(exp1, exp2, exp3, exp4), |
| 452 | ) |
| 453 | : getPureFunctionReturnValue(lView, bindingIndex + 4); |
| 454 | } |
| 455 | |
| 456 | /** |
| 457 | * pureFunction instruction that can support any number of bindings. |
no test coverage detected
searching dependent graphs…