Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

isinstance function python

x = isinstance(5, int) 
y = isinstance(6.5, int)
print(x)
print(y)

output:
True
False
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #isinstance #function #python
ADD COMMENT
Topic
Name
7+7 =