isNaN

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

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