Posts by VCanas • 1 point
1 post
-
0
votes2
answers49
viewsA: Knowing the type of return of a given
Use the 'isinstance'. example: if isinstance(<Object>, <Class>): faz qualquer coisa else: faz outra coisa
1 post
0
votes2
answers49
viewsUse the 'isinstance'. example: if isinstance(<Object>, <Class>): faz qualquer coisa else: faz outra coisa