Here's an interesting question: Can I programmatically get the number of arguments a function expects or a list of the arguments a function expects via JSL?
Here's an example: say I have the function
beta density()
The documentation tells me that it has 4 parameters (x, alpha, beta, , ) - two of which are required and two which have default values. Say that I wanted to get either the list of the parameters, or just the number of items the function is expecting. Is there a way to get at that information via JSL for any arbitrary function?