toCollection

fun <C : MutableCollection<T>> toCollection(collection: C): C

Make sequence to the collection.

Return

MutableCollection the collection