Module

x/rambda/mod.ts>composeWith

Faster and smaller alternative to Ramda
Latest
function composeWith
import { composeWith } from "https://dotland.deno.dev/x/rambda@9.4.1/mod.ts";

Type Parameters

TArgs extends any[]
TResult

Parameters

transformer: (fn: (...args: any[]) => any, intermediatResult: any) => any
fns: AtLeastOneFunctionsFlowFromRightToLeft<TArgs, TResult>

Returns

(...args: TArgs) => TResult

Parameters

transformer: (fn: (...args: any[]) => any, intermediatResult: any) => any

Returns

<TArgs extends any[], TResult>(fns: AtLeastOneFunctionsFlowFromRightToLeft<TArgs, TResult>) => (...args: TArgs) => TResult