← Docs
kotlin-stdlib / kotlin / Deprecated / replaceWith

replaceWith

Common
JVM
JS
Native
1.0
val replaceWith : ReplaceWith
(Common source) (Native source)

If present, specifies a code fragment which should be used as a replacement for the deprecated API usage.

Property

replaceWith - If present, specifies a code fragment which should be used as a replacement for the deprecated API usage.

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 .