Function: curry1to0()

curry1to0<T, R>(proc, arg): () => R

Takes a 1 argument function and returns a function which when called, executes it with the provided argument.

Type parameters

Type parameter
T
R

Parameters

ParameterType
proc(arg) => R
argT

Returns

Function

Returns

R