Join Slack
Powered by
hi everyone. there's an `Array` constructor with `...
# stdlib
d
dimsuz
06/22/2016, 9:00 AM
hi everyone. there's an
Array
constructor with
init
so I can do
Array(5, { i -> createItem(i) })
. Is there something similar for initializing lists in
stdlib
? none of
listOf
overloads has any additional parameters...
3
Views
Open in Slack
Previous
Next