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.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/as-list.html