← Docs
kotlin-stdlib / kotlin.collections / replaceAll

replaceAll

Native
1.3
@ExperimentalNativeApi fun < T > MutableList < T > . replaceAll (
transformation : ( T ) -> T )

(source)

Replaces each element in the list with a result of a transformation specified.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .