Seems so simple, but, how do I initialize Kotlin\'s MutableList to empty MutableList?
MutableList
I could hack it this way, but I\'m sure there is some
I do like below to :
var book: MutableList = mutableListOf()
/** Returns a new [MutableList] with the given elements. */
public fun mutableListOf(vararg elements: T): MutableList = if (elements.size == 0) ArrayList() else ArrayList(ArrayAsCollection(elements, isVarargs = true))