Kind: Function
Source: atloria-monorepo/packages/editor/src/utils/fp.ts
Performs left to right composition of two functions.
Signature
tsfunction compose(a: (arg: A) => R, b: (arg: I) => A): (arg: I) => R
Parameters
| Name | Type |
|---|---|
a | (arg: A) => R |
b | (arg: I) => A |
Returns: (arg: I) => R
Was this page helpful?