IterableMinMaxByExtensions<T> extension
Min/max by key (return element).
- on
-
- Iterable<
T>
- Iterable<
Methods
-
maxBy<
K extends Comparable< (K> >K keyOf(T)) → T? -
Available on Iterable<
Element with maximumT> , provided by the IterableMinMaxByExtensions extensionkeyOfvalue; null if empty. -
minBy<
K extends Comparable< (K> >K keyOf(T)) → T? -
Available on Iterable<
Element with minimumT> , provided by the IterableMinMaxByExtensions extensionkeyOfvalue; null if empty.