insertAt

fun insertAt(arr: IntArray, value: Int, index: Int): IntArray(source)

Returns a new array with the value inserted at the index.