Function functionName():Void

Hi There…

This one has been puzzling me for ages… I’ve been using a lot of friends of ed books and noticed that a lot of them use the following:

function functionName():Void {
  // function goes here
}

However I have always used:

function functionName(){
   // function goes here
}

I was wandering what the :Void does to a function, so far I’ve not found a reason for it.

Cheers,

Bob
www.bobcooper.org.uk