(type_: Optional[_AnnotationScanType])
| 331 | |
| 332 | |
| 333 | def is_newtype(type_: Optional[_AnnotationScanType]) -> TypeGuard[NewType]: |
| 334 | return isinstance(type_, _type_tuples.NewType) |
| 335 | |
| 336 | |
| 337 | def is_generic(type_: _AnnotationScanType) -> TypeGuard[GenericProtocol[Any]]: |