Function: compose

compose<I, A, R>(a, b): (arg: I) => R

Performs left to right composition of two functions.

Type parameters

Name
I
A
R

Parameters

NameType
a(arg: A) => R
b(arg: I) => A

Returns

fn

▸ (arg): R

Parameters
NameType
argI
Returns

R