isNaN

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

Since Kotlin

1.0
actual fun Double.isNaN(): Boolean(source)
actual fun Float.isNaN(): Boolean(source)

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

Since Kotlin

1.1
actual inline fun Double.isNaN(): Boolean(source)
actual 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
actual external fun Double.isNaN(): Boolean(source)
actual external fun Float.isNaN(): Boolean(source)

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

Since Kotlin

1.3