TypeGuard
E2096338
UNEXPLORED
TypeGuard is a Python typing construct introduced by PEP 647 that allows type checkers to narrow the type of a variable based on the result of a user-defined predicate function.
All labels observed (5)
| Label | Occurrences |
|---|---|
| typing.TypeGuard | 2 |
| TypeGuard canonical | 1 |
| TypeGuard in typing module | 1 |
| TypeGuard is intended for use by static type checkers only | 1 |
| User-Defined Type Guards | 1 |
Referenced by (6)
Full triples — surface form annotated when it differs from this entity's canonical label.
linked to: TypeGuard
linked to: TypeGuard
linked to: TypeGuard