jorgesimoes1983
10 years agoRegular Contributor
Specify operation parameters (explicit types)
Hi!
Is it possible to specify explicit operation parameter types? Look at the attachment :)
I'd like to have a mode, or type:string, selected by default.
And what about thins like this:
function some_function(int number, string name)
{
...
}
I know we can't do it in javascript, although we can use typeof... is any other way besides doing conversions?
Thanks!
Is it possible to specify explicit operation parameter types? Look at the attachment :)
I'd like to have a mode, or type:string, selected by default.
And what about thins like this:
function some_function(int number, string name)
{
...
}
I know we can't do it in javascript, although we can use typeof... is any other way besides doing conversions?
Thanks!