Join Slack
Powered by
cant we apply the spread operator on `List` ?
# announcements
e
elect
05/28/2020, 12:14 PM
cant we apply the spread operator on
List
?
a
allan.conda
05/28/2020, 12:14 PM
you can
Oops sorry, you have to call toTypedArray()
b
Bornyls Deen
05/28/2020, 12:17 PM
I've always had to convert the
Collection
into an
Array
using
toTypedArray()
to use the spread operator .
➕ 1
2
Views
Open in Slack
Previous
Next