I want to return just 1 value to the function with multiple return values. I tried this:
func myFunc() (int, int){
return _, 3
}
But it didn't work and raised this error: cannot use _ as value
I already know that It's possible to receive one of the returned values.
Is there any way to return just 1 value?
Is there any way to return just 1 value?Plain and simple: No.