kotlin.collections.fill
fill
fun <T> Array<T>.fill( element: T, fromIndex: Int = 0, toIndex: Int = size)
Platform and version requirements: JVM
fun ByteArray.fill( element: Byte, fromIndex: Int = 0, toIndex: Int = size)
Platform and version requirements: JVM
fun ShortArray.fill( element: Short, fromIndex: Int = 0, toIndex: Int = size)
Platform and version requirements: JVM
fun IntArray.fill( element: Int, fromIndex: Int = 0, toIndex: