Skip to content
Advertisement

How to add Python type hints to runtime type

How would you add type hints to this function?

JavaScript

Advertisement

Answer

Hmm it seems you can do it like this:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement