Variable: compose()
const
compose: {(): <Value
>(value
) =>Value
; <A
,B
>(fn
): (value
) =>B
; <A
,B
,C
>(fn1
,fn2
): (value
) =>C
; <A
,B
,C
,D
>(fn1
,fn2
,fn3
): (value
) =>D
; <A
,B
,C
,D
,E
>(fn1
,fn2
,fn3
,fn4
): (value
) =>E
; <A
,B
,C
,D
,E
,F
>(fn1
,fn2
,fn3
,fn4
,fn5
): (value
) =>F
; <A
,B
,C
,D
,E
,F
,G
>(fn1
,fn2
,fn3
,fn4
,fn5
,fn6
): (value
) =>G
; <A
,B
,C
,D
,E
,F
,G
,H
>(fn1
,fn2
,fn3
,fn4
,fn5
,fn6
,fn7
): (value
) =>H
; <A
,B
,C
,D
,E
,F
,G
,H
,I
>(fn1
,fn2
,fn3
,fn4
,fn5
,fn6
,fn7
,fn8
): (value
) =>I
; <A
,B
,C
,D
,E
,F
,G
,H
,I
,J
>(fn1
,fn2
,fn3
,fn4
,fn5
,fn6
,fn7
,fn8
,fn9
): (value
) =>J
; (...fns
): (value
) =>unknown
; }
Defined in: core.d.ts:175
Returns a function that takes a single parameter and pipes it through the given functions.
Call Signature
(): <
Value
>(value
) =>Value
Returns
<
Value
>(value
):Value
Type Parameters
Value
Value
Parameters
value
Value