Function: curry2to1

curry2to1<T, K, R>(proc, arg1): (arg2: K) => R

Takes a 2 argument function and partially applies the first argument.

Type parameters

Name
T
K
R

Parameters

NameType
proc(arg1: T, arg2: K) => R
arg1T

Returns

fn

▸ (arg2): R

Parameters
NameType
arg2K
Returns

R