maxOfOrNull<R extends Comparable> method
Returns the largest value among all values produced by selector
function
applied to each entry in the Map or null
if there are no entries.
Implementation
R? maxOfOrNull<R extends Comparable>(
R Function(MapEntry<K, V> entry) selector,
) =>
entries.maxOfOrNull(selector);