isFinite

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

Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).

Since Kotlin

1.0