Equivalent function in JavaScript/Ramda as Clojure’s juxt



I need the functionality of Clojure’s juxt function in JavaScript. Is there a native function for this? We’re using the Ramda functional JavaScript library. Is there a Ramda function with the juxt functionality?

I know, of course, I can write this function myself. This is for educational purposes.

Answer

At some extent the R.ap looks like what you want.



Source: stackoverflow