copyOfRange
actual inline fun DoubleArray.copyOfRange(fromIndex: Int, toIndex: Int): DoubleArray(source)(source)
actual inline fun BooleanArray.copyOfRange(fromIndex: Int, toIndex: Int): BooleanArray(source)(source)
Returns a new array which is a copy of the specified range of the original array.
Since Kotlin
1.0Parameters
fromIndex
the start of the range (inclusive) to copy.
toIndex
the end of the range (exclusive) to copy.