Annotations Python Python 3.6 Typechecking Check A Variable Against Union Type At Runtime In Python 3.6 April 22, 2003 Post a Comment Answer : You could use the __args__ attribute of Union which holds a tuple of the "possi… Read more Check A Variable Against Union Type At Runtime In Python 3.6