This method is like flow except that it composes a function that invokes the given functions from right to left.
flow
Rest
The functions to invoke.
Returns the new composite function.
5.18.0
function square(n) { return n * n}const addSquare = flowRight(square, add)addSquare(1, 2)// => 9 Copy
function square(n) { return n * n}const addSquare = flowRight(square, add)addSquare(1, 2)// => 9
This method is like
flow
except that it composes a function that invokes the given functions from right to left.