asList
fun <T> Array<out T>.asList(): List<T>
fun ShortArray.asList(): List<Short>
fun FloatArray.asList(): List<Float>
fun DoubleArray.asList(): List<Double>
fun BooleanArray.asList(): List<Boolean>
@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.