Kind: Function
Source: atloria-monorepo/packages/editor/src/utils/fp.ts
Takes a 1 argument function and returns a function which when called, executes it with the provided argument.
Signature
tsfunction curry1to0(proc: (arg: T) => R, arg: T): () => R
Parameters
| Name | Type |
|---|---|
proc | (arg: T) => R |
arg | T |
Returns: () => R
Was this page helpful?