is_inexact(obj)
Return true if the object obj is an inexact number, false otherwise. Raise an error is obj is not a valid number.
true
obj
false
is_inexact(1) // false is_inexact(-15/10) // false is_inexact(3.01) // true
Core Module Index | Contents