sliceArray

Common
JVM
JS
Native
1.0
fun < T > Array < T > . sliceArray (
indices : Collection < Int >
) : Array < T >

(source)
fun ByteArray . sliceArray ( indices : Collection < Int > ) : ByteArray
(source)
fun ShortArray . sliceArray (
indices : Collection < Int >
) : ShortArray

(source)
fun IntArray . sliceArray ( indices : Collection < Int > ) : IntArray
(source)
fun LongArray . sliceArray ( indices : Collection < Int > ) : LongArray
(source)
fun FloatArray . sliceArray (
indices : Collection < Int >
) : FloatArray

(source)
fun DoubleArray . sliceArray (
indices : Collection < Int >
) : DoubleArray

(source)
fun BooleanArray . sliceArray (
indices : Collection < Int >
) : BooleanArray

(source)
fun CharArray . sliceArray ( indices : Collection < Int > ) : CharArray
(source)
@ExperimentalUnsignedTypes fun UIntArray . sliceArray (
indices : Collection < Int >
) : UIntArray

(source)
@ExperimentalUnsignedTypes fun ULongArray . sliceArray (
indices : Collection < Int >
) : ULongArray

(source)
@ExperimentalUnsignedTypes fun UByteArray . sliceArray (
indices : Collection < Int >
) : UByteArray

(source)
@ExperimentalUnsignedTypes fun UShortArray . sliceArray (
indices : Collection < Int >
) : UShortArray

(source)

Returns an array containing elements of this array at specified indices .

Common
JVM
JS
Native
1.0
fun < T > Array < T > . sliceArray ( indices : IntRange ) : Array < T >
(source)
fun ByteArray . sliceArray ( indices : IntRange ) : ByteArray
(source)
fun IntArray . sliceArray ( indices : IntRange ) : IntArray
(source)
fun LongArray . sliceArray ( indices : IntRange ) : LongArray
(source)
fun CharArray . sliceArray ( indices : IntRange ) : CharArray
(source)
@ExperimentalUnsignedTypes fun UIntArray . sliceArray (
indices : IntRange
) : UIntArray

(source)
@ExperimentalUnsignedTypes fun ULongArray . sliceArray (
indices : IntRange
) : ULongArray

(source)
@ExperimentalUnsignedTypes fun UByteArray . sliceArray (
indices : IntRange
) : UByteArray

(source)
@ExperimentalUnsignedTypes fun UShortArray . sliceArray (
indices : IntRange
) : UShortArray

(source)

Returns an array containing elements at indices in the specified indices range.