isFinite

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

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