toMutableList

Common
JVM
JS
Native
1.0
fun <T> Array<out T>.toMutableList(): MutableList<T>
(source)
fun ByteArray.toMutableList(): MutableList<Byte>
(source)
fun ShortArray.toMutableList(): MutableList<Short>
(source)
fun IntArray.toMutableList(): MutableList<Int>
(source)
fun LongArray.toMutableList(): MutableList<Long>
(source)
fun FloatArray.toMutableList(): MutableList<Float>
(source)
fun DoubleArray.toMutableList(): MutableList<Double>
(source)
fun BooleanArray.toMutableList(): MutableList<Boolean>
(source)
fun CharArray.toMutableList(): MutableList<Char>
(source)

Returns a new MutableList filled with all elements of this array.

Common
JVM
JS
Native
1.0
fun <T> Iterable<T>.toMutableList(): MutableList<T>
(source)
fun <T> Collection<T>.toMutableList(): MutableList<T>
(source)

Returns a new MutableList filled with all elements of this collection.