W3cubDocs

/Kotlin

get

Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
abstract fun get(receiver: T): R

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.

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/get.html