minBy
Returns the first character yielding the smallest value of the given function.
Since Kotlin
1.7Throws
if the char sequence is empty.
Samples
samples.collections.Collections.Aggregates.minByDeprecated
Warning since 1.4
Error since 1.5
Hidden since 1.6
Use minByOrNull instead.
Replace with
this.minByOrNull(selector)
Content copied to clipboard