Hey are we able to return more than 1 value or doe...
# kotlin-native
h
Hey are we able to return more than 1 value or does that still require the Pair work around
o
There is no syntax in Kotlin to return multiple values
h
Ok thanks I knew there wasn't for the Jvm builds because the Jvm is restricted to only 1 I didn't know if native was as well
g
It cannot be native-only feature, otherwise it would be possible to use such code on other platforms and it’s not just some platfrom-specific API, but core syntax change
Instead of generic Pair you also can use special data class
o
but tuples along with decomposition can make pretty good feeling of multiple results
3
h
Ok thanks for the suggestions