Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/mod.ts>composeWith

Faster and smaller alternative to Ramda
Go to Latest
function composeWith
import { composeWith } from "https://deno.land/x/rambda@9.2.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