Skip to main content
Module

x/rambda/index.d.ts>curryN

Faster and smaller alternative to Ramda
Go to Latest
function curryN
import { curryN } from "https://deno.land/x/rambda@v7.0.1/index.d.ts";

It returns a curried equivalent of the provided function, with the specified arity.

Parameters

length: number
fn: (...args: any[]) => any

Returns

(...a: any[]) => any