Let's say I have an array of 7 values:
[1.20, 0.50, 2.00, 0.75, 1.20, 0.75, 0.75]
How can I strip out the 3 lowest values from this array using Ramda JS, so that it returns a new array:
[1.20, 2.00, 1.20, 0.75]?
Might as well need to strip out the 4 highest values from the array. That's why I'm talking about two arguments.
Many thanks!