Returns the first element yielding the largest value of the given function.
The operation is terminal.
if the sequence is empty.
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use maxByOrNull instead.
this.maxByOrNull(selector)
Thanks for your feedback!