Hello,
I’m new to Kotlin and would like to know how to declare multi as function parameters.
Any Idea ?
Hello,
I’m new to Kotlin and would like to know how to declare multi as function parameters.
Any Idea ?
I'm not sure if I'm understanding you correctly. Do you mean passing a variable number of parameters to a function (like int... in Java)?
The documentation explains how to do that here and here. Hope that helps!
I think I did a mistake : I though Multi was a kind of tuples.......
Sorry.
David
You meant multi-declarations ("multi" is not a word in Kotlin). This functionality is not supported at the moment.