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

Function ɵɵpipeBind1

packages/core/src/render3/pipe.ts:171–185  ·  view source on GitHub ↗
(index: number, offset: number, v1: any)

Source from the content-addressed store, hash-verified

169 * @codeGenApi
170 */
171export function ɵɵpipeBind1(index: number, offset: number, v1: any): any {
172 const adjustedIndex = index + HEADER_OFFSET;
173 const lView = getLView();
174 const pipeInstance = load<PipeTransform>(lView, adjustedIndex);
175 return isPure(lView, adjustedIndex)
176 ? pureFunction1Internal(
177 lView,
178 getBindingRoot(),
179 offset,
180 pipeInstance.transform,
181 v1,
182 pipeInstance,
183 )
184 : pipeInstance.transform(v1);
185}
186
187/**
188 * Invokes a pipe with 2 arguments.

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected