asList

Common
JVM
JS
Native
1.0
fun <T> Array<out T>.asList(): List<T>

Returns a List that wraps the original array.

Common
JVM
JS
Native
1.0
fun ByteArray.asList(): List<Byte>
fun ShortArray.asList(): List<Short>
fun IntArray.asList(): List<Int>
fun LongArray.asList(): List<Long>
fun FloatArray.asList(): List<Float>
fun DoubleArray.asList(): List<Double>
fun BooleanArray.asList(): List<Boolean>
fun CharArray.asList(): List<Char>

Returns a List that wraps the original array.