3 ms·
> Does mypy have type guards? not yet, maybe in the future. might be possible to emulate some use cases with Literal Types. tracking issue: https://github.com
by uryga 7y ago
> Does mypy have type guards?
not yet, maybe in the future. might be possible to emulate some use cases with Literal Types. tracking issue:
https://github.com/python/mypy/issues/5206 https://github.com/python/mypy/issues/5206