← Docs
kotlin-stdlib / kotlin.reflect / KProperty2 / get

get

Common
JVM
JS
Native
1.0
abstract fun get ( receiver1 : D , receiver2 : E ) : V
(Common source) (JVM source) (JS source) (Native source)

Returns the current value of the property. In case of the extension property in a class, the instance of the class should be passed first and the instance of the extension receiver second.

Parameters

receiver1 - the instance of the first receiver.

receiver2 - the instance of the second receiver.

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 .