replaceAll
fun <T> MutableList<T>.replaceAll(transformation: (T) -> T)
Replaces each element in the list with a result of a transformation specified.
fun <T> MutableList<T>.replaceAll(transformation: (T) -> T)
Replaces each element in the list with a result of a transformation specified.