I need a way to imitate the functionality of the
inspect module from python.
I want to know the list of parameters of a functions, check if there are default values or not, and check if it accepts kwargs or not.
Sample python code
import inspect def func(a, b=10, **kwargs): pass allArgs = inspect.getfullargspec(func)
allArgs is an object containing the required information
For more information: https://docs.python.org/3/library/inspect.html#inspect.getargspec
I want to achieve the same in Julia. Is there any library to do the same or is there some hack to do the same?
Any help is appreciated. Thanks in advance
Dinesh Vikram V