typedefs property

Iterable<ClassInstance> get typedefs

Returns some instances of ClassInstance from the cache. They represent inspected Python objects related to type annotations. In particular, this returns typing.TypeVar and typing.Union instances.

Implementation

Iterable<ClassInstance> get typedefs => classes.where(types.isType);