isfloat - test if a value is a floating-point number
val.isfloat()
The isfloat() method tests whether val
is a floating-point number (e.g., Float,
Double, or Half).
true if val is a floating-point number,
false otherwise.
None.
(3.14).isfloat()
true
42->isfloat()
false