W3cubDocs

/Kotlin

get

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

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–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/get.html