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
Parameter | Type |
---|---|
proc | (arg ) => R |
arg | T |
Returns
Function
Returns
R