isNaN

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

Returns true if the specified number is a Not-a-Number (NaN) value, false otherwise.

Since Kotlin

1.0