asList

expect fun <T> Array<out T>.asList(): List<T>(source)(source)
actual fun <T> Array<out T>.asList(): List<T>(source)(source)
expect fun IntArray.asList(): List<Int>(source)(source)
actual fun IntArray.asList(): List<Int>(source)(source)

Returns a List that wraps the original array.

Since Kotlin

1.0