MCPcopy Create free account
hub / github.com/angular/angular / ɵɵpipeBind3

Function ɵɵpipeBind3

packages/core/src/render3/pipe.ts:231–247  ·  view source on GitHub ↗
(index: number, slotOffset: number, v1: any, v2: any, v3: any)

Source from the content-addressed store, hash-verified

229 * @codeGenApi
230 */
231export function ɵɵpipeBind3(index: number, slotOffset: number, v1: any, v2: any, v3: any): any {
232 const adjustedIndex = index + HEADER_OFFSET;
233 const lView = getLView();
234 const pipeInstance = load<PipeTransform>(lView, adjustedIndex);
235 return isPure(lView, adjustedIndex)
236 ? pureFunction3Internal(
237 lView,
238 getBindingRoot(),
239 slotOffset,
240 pipeInstance.transform,
241 v1,
242 v2,
243 v3,
244 pipeInstance,
245 )
246 : pipeInstance.transform(v1, v2, v3);
247}
248
249/**
250 * Invokes a pipe with 4 arguments.

Callers

nothing calls this directly

Calls 6

getLViewFunction · 0.90
loadFunction · 0.90
pureFunction3InternalFunction · 0.90
getBindingRootFunction · 0.90
isPureFunction · 0.85
transformMethod · 0.65

Tested by

no test coverage detected