is_generic
Returns True if the annotation is or extends a generic.
Signature:
def is_generic(annotation: type) -> bool: ...Parameters:
-
annotation:- Type
-
type
Returns True if the annotation is or extends a generic.
def is_generic(annotation: type) -> bool: ... annotation:
type