For creating an empty list, I used `var li = listO...
# getting-started
j
For creating an empty list, I used
var li = listOf<Int>()
, or
var li = mutableListOf<Int>()
. I just found
emptyList()
, but it creates an immutable empty list. Is there a similar shortcut for creating a mutable empty list?