Data type of UnityScript function object

As illustrated here, it's possible to store references to functions in variables and pass them as parameters. For example:

function Foo(){
    Debug.Log("Foo");
}
var f = Foo;
f();

However, does anyone know what the data type of var f in the above script should be? Thanks!

It should be Function. So the script you gave would be this if you specify a type for f:

function Foo(){
    Debug.Log("Foo");
}
var f : Function = Foo;
f();