This issue is supposed to track when we can start to use the TypeIs special form (PEP 742) in typeshed. Support is needed in released versions of:
Please reference this issue as needed from other issues/PRs to collect places that we might want to update.
Once this is supported, many (most?) TypeGuard functions in typeshed should be changed to use TypeIs.
This issue is supposed to track when we can start to use the
TypeIsspecial form (PEP 742) in typeshed. Support is needed in released versions of:Please reference this issue as needed from other issues/PRs to collect places that we might want to update.
Once this is supported, many (most?)
TypeGuardfunctions in typeshed should be changed to useTypeIs.