isInfinite

expect inline fun Double.isInfinite(): Boolean(source)
expect inline fun Float.isInfinite(): Boolean(source)

Returns true if this value is infinitely large in magnitude.

Since Kotlin

1.0