asList

Common
JVM
JS
Native
1.0
fun <T> Array<out T>.asList(): List<T>
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>
@ExperimentalUnsignedTypes fun UIntArray.asList(): List<UInt>
@ExperimentalUnsignedTypes fun ULongArray.asList(): List<ULong>
@ExperimentalUnsignedTypes fun UByteArray.asList(): List<UByte>
@ExperimentalUnsignedTypes fun UShortArray.asList(): List<UShort>

Returns a List that wraps the original array.