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

Function ɵɵpipeBind4

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

Source from the content-addressed store, hash-verified

262 * @codeGenApi
263 */
264export function ɵɵpipeBind4(
265 index: number,
266 slotOffset: number,
267 v1: any,
268 v2: any,
269 v3: any,
270 v4: any,
271): any {
272 const adjustedIndex = index + HEADER_OFFSET;
273 const lView = getLView();
274 const pipeInstance = load<PipeTransform>(lView, adjustedIndex);
275 return isPure(lView, adjustedIndex)
276 ? pureFunction4Internal(
277 lView,
278 getBindingRoot(),
279 slotOffset,
280 pipeInstance.transform,
281 v1,
282 v2,
283 v3,
284 v4,
285 pipeInstance,
286 )
287 : pipeInstance.transform(v1, v2, v3, v4);
288}
289
290/**
291 * Invokes a pipe with variable number of arguments.

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected