I want to takes a user input a function that can be defined to take either a (1) scalar (2) two arguments or (3) a tuple. Then I want to determine which category the user input (1,2 or 3) is in. The user input can either be an anonymous function or a define function.
Right now I do this with try/catch blocks but that's less than ideal. Any better option?
