Methods
flow(monadDefinition, fns) → {Object}
Create a monad out of given input and map any number of functions on it
Parameters:
| Name | Type | Description |
|---|---|---|
monadDefinition |
Object | Monad definition |
fns |
Array.<function()> | Functions to apply on the new monad |
Returns:
A new Monad on which all given functions will have been called
- Type
- Object