Hey Folks,
If I have argument type for a function: is it possible to create a function with those?
Note:
- we don't have reflect type for the function to be created so makeFunc can not be simply used.
- function inputTypes can differ so variadic can not be leveraged here.
- number of inputs can differ.
eg:
input arg types: TypeA, TypeB
expected output: func(TypeA, TypeB)
-----
Also, if it makes thing easier: Base problem which I have is:
input: func(inputTypes) (outputTypes)
expectedOutput: func(inputTypes)
Thanks!