Get function arguments and their types
Returns a dictionary where keys are parameter names and values are their types. Supports both user-defined lambdas and builtin functions.
Function): The function to
inspect.A dictionary of name = Type.
args(sqrt)
-- Returns: {x = "Number | Vector | NDArray"}
f = \(x = Int, y = Float -> Int) x + y
args(f)
-- Returns: {x: "Int", y = "Float"}