What’s the difference between a constrained TypeVar and a Union?
If I want to have a type that can be multiple possible types, Union
s seem to be how I represent that:
If I want to have a type that can be multiple possible types, Union
s seem to be how I represent that: