kotlin max of list code example Example: kotlin find max value in list of objects public fun Iterable.max(): Double?