Is there a way to let a javascript function know that a certain parameter is of a certain type?
Being able to do something like this would be perfect:
It can easilly be done with ArgueJS:
function myFunction () { arguments = __({myDate: Date, myString: String}); // do stuff };