I am trying to specify the type of function for a function that receives two or more parameters. For a function with one parameter, it's easy:
var myFunction : Int -> Void;
You can reference this function:
function doSomething ( param1 : Int ) : Void { ... } ... myFunction = doSomething;
But how do you refer to a function with two or more parameters? Unfortunately, there is still no complete documentation .
Thanks in advance!
source share