How to test the data type of a variable

Deac-33 Lancaster deac33 at gmail.com
Thu Apr 23 21:24:28 EDT 2020


I'm aware that you can find the type of a variable with 
   type(var)

But are there Boolean operators in Python3.8 to test the data type, e.g.
  is_floate(var)
  is_string(var)
etc. ?

(If this is the wrong group for this question, what group should I use.)

thanks much,
-deac33


More information about the Python-list mailing list