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

get

Common
JVM
JS
Native
1.0
abstract fun get ( receiver : T ) : V
(Common source) (JVM source) (JS source) (Native source)

Returns the current value of the property.

Parameters

receiver - the receiver which is used to obtain the value of the property. For example, it should be a class instance if this is a member property of that class, or an extension receiver if this is a top level extension property.

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 .