Are there equivalents of TypeScript's utility types ReturnType<() => any> and Parameters<() => any> in Python? #5624
minenwerfer
started this conversation in
General
Replies: 1 comment
-
No, the Python type system has no equivalent to those. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to access the types of a function parameters. Example:
Beta Was this translation helpful? Give feedback.
All reactions