MCPcopy Create free account
hub / github.com/Effect-TS/effect / pipeArguments

Function pipeArguments

packages/effect/src/Pipeable.ts:567–571  ·  view source on GitHub ↗
(self: A, args: IArguments)

Source from the content-addressed store, hash-verified

565 * @since 2.0.0
566 */
567export const pipeArguments = <A>(self: A, args: IArguments): unknown => {
568 let ret: unknown = self
569 for (let i = 0; i < args.length; i++) ret = args[i](ret)
570 return ret
571}
572
573/**
574 * Reusable prototype that implements `Pipeable.pipe`.

Callers 15

pipeFunction · 0.90
pipeMethod · 0.90
pipeFunction · 0.90
pipeFunction · 0.90
pipeMethod · 0.90
pipeMethod · 0.90
pipeMethod · 0.90
pipeFunction · 0.90
pipeFunction · 0.90
pipeFunction · 0.90
pipeFunction · 0.90
pipeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected