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.

Try in SPARQL Jump to: Surface forms Referenced by

All labels observed (5)

Referenced by (6)

Full triples — surface form annotated when it differs from this entity's canonical label.

PEP 647 TypeGuard → moduleLocation → typing.TypeGuard ⓘ
linked to: TypeGuard
PEP 647 → hasTitle → User-Defined Type Guards ⓘ
linked to: TypeGuard
PEP 647 → definesSyntaxElement → typing.TypeGuard ⓘ
linked to: TypeGuard
PEP 647 → governsBehaviorOf → TypeGuard in typing module ⓘ
linked to: TypeGuard
PEP 647 → notes → TypeGuard is intended for use by static type checkers only ⓘ
linked to: TypeGuard