Concept
typing.TypeGuard
A type construct in Python's typing module used to define custom type-narrowing functions.
Timeline (last 90 days)
Oct 22
PEP 484 provides tools such as typing.Literal, typing.Final and typing.TypeGuard to describe special values.
Unverified50%