Is it true than in Kotlin a function cannot return...
# getting-started
d
Is it true than in Kotlin a function cannot return multiple values?!?!?
n
multiple values means you aren't really using the type system nicely. in a pinch you can use Pair or Triple, but usually you want a data class. all are easy to destructure.
d
in Go and Swift, you can return multiple values, and it’s really useful