How to use the minBy function from ramda
Find comprehensive JavaScript ramda.minBy code examples handpicked from public code repositorys.
3085 3086 3087 3088 3089 3090 3091 3092 3093 3094
* @example * * // square :: Number -> Number * var square = n => n * n; * * R.minBy(square, -3, 2); //=> 2 * * R.reduce(R.minBy(square), Infinity, [3, -5, 4, 1, -2]); //=> 1 * R.reduce(R.minBy(square), Infinity, []); //=> Infinity */
0
0
0
+ 17 other calls in file
ramda.clone is the most popular function in ramda (30311 examples)