Skip to content

unctionjs/compose

Repository files navigation

@unction/compose

Tests Stability Dependencies

Array => B => C

Takes a list of functions and runs a value through that stack from right to left.

compose([toInteger, toString])(0) // 0
compose([append("b"), append("a")])("c") // "cab"