fill

expect fun <T> MutableList<T>.fill(value: T)(source)

Since Kotlin

1.2
actual inline fun <T> MutableList<T>.fill(value: T)(source)

Fills the list with the provided value.

Each element in the list gets replaced with the value.

Since Kotlin

1.2
actual fun <T> MutableList<T>.fill(value: T)(source)

Fills the list with the provided value.

Each element in the list gets replaced with the value.

Since Kotlin

1.2