minWith

fun CharSequence.minWith(comparator: Comparator<in Char>): Char?(source)

Deprecated

Use minWithOrNull instead.

Replace with

this.minWithOrNull(comparator)

Since Kotlin

1.0