hi everyone. there's an `Array` constructor with `...
# stdlib
d
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...