How to use the o function from ramda

Find comprehensive JavaScript ramda.o code examples handpicked from public code repositorys.

10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
* @return {Function}
* @see R.compose, R.pipe
* @example
*
*      const classyGreeting = name => "The name's " + name.last + ", " + name.first + " " + name.last
*      const yellGreeting = R.o(R.toUpper, classyGreeting);
*      yellGreeting({first: 'James', last: 'Bond'}); //=> "THE NAME'S BOND, JAMES BOND"
*
*      R.o(R.multiply(10), R.add(10))(-4) //=> 60
*
fork icon0
star icon0
watch icon2

+ 11 other calls in file

Other functions in ramda

Sorted by popularity

function icon

ramda.clone is the most popular function in ramda (30311 examples)