IterableMaxBy<E> extension
- on
-
- Iterable<
E>
- Iterable<
Methods
-
maxBy(
Comparable selector(E element)) → E? -
Available on Iterable<
Returns the first element yielding the largest value of the givenE> , provided by the IterableMaxBy extensionselector
ornull
if there are no elements.