minimumBy package:rio

The least element of a non-empty structure with respect to the given comparison function.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
O(n) Yield the minimum element of the vector according to the given comparison function. The vector may not be empty.
The least element of a non-empty structure with respect to the given comparison function.