max

fun Sequence<Double>.max(): Double?(source)
fun Sequence<Float>.max(): Float?(source)

Deprecated

Use maxOrNull instead.

Replace with

this.maxOrNull()

Since Kotlin

1.1

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

Deprecated

Use maxOrNull instead.

Replace with

this.maxOrNull()

Since Kotlin

1.0