Join Slack
Powered by
I don't understand the use of "*" in this context
# announcements
r
Rak
05/30/2019, 2:31 PM
I don't understand the use of "*" in this context
s
streetsofboston
05/30/2019, 2:32 PM
It is the so-called ‘spread’ operator
streetsofboston
05/30/2019, 2:32 PM
https://kotlinlang.org/docs/reference/functions.html
and search for ‘spread’.
r
Rak
05/30/2019, 2:33 PM
Thanks
k
karelpeeters
05/30/2019, 2:36 PM
Note that
*
makes an extra array copy, which might have performance implications.
👍 2
Open in Slack
Previous
Next