finesse.utilities.types.issubtype

finesse.utilities.types.issubtype(cls, annotation)[source]

Check that cls is compatible with typing annotation annotation.

Parameters:
clstype

The type to check for membership of annotation.

annotationtyping type

The annotation to check.