IterableMaxBy<E> extension

on

Methods

maxBy(Comparable selector(E element)) → E?
Returns the first element yielding the largest value of the given selector or null if there are no elements.