for example in python, it is possible to do stuff ...
# announcements
c
for example in python, it is possible to do stuff like
my_function(*myType)
, and even know kotlin has a spread operator as well it seems to only work on collections and can't be used for stuff like Pair<A, B>
z
Kotlin does not have anything like this.
c
cool so spread is limited to only the collection types then
z
d
There is desctructuring though: https://kotlinlang.org/docs/reference/multi-declarations.html But as @Zach Klippenstein (he/him) [MOD] wrote it is not applicable for spreading arguments to function calls