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

Name
T
R

Parameters

NameType
proc(arg: T) => R
argT

Returns

fn

▸ (): R

Returns

R