min

fun <T : Comparable<T>> Sequence<T>.min(): T?(source)

Deprecated

Warning since 1.4

Error since 1.5

Use minOrNull instead.

Replace with

this.minOrNull()