Difference between revisions of "Python tips"
From Crop Genomics Lab.
KangHeum Cho (Talk | contribs) (→Codes) |
KangHeum Cho (Talk | contribs) (→Codes) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
=Codes= | =Codes= | ||
− | isinstance(obj, type) | + | isinstance(obj, type) <br> - boolean to check if obj is in type |
− | - | + |
Latest revision as of 06:19, 23 January 2019
Codes
isinstance(obj, type)
- boolean to check if obj is in type