W3cubDocs

/Kotlin

Getter

interface Getter<out R> : Getter<R>, () -> R

Getter of the property is a get method declared alongside the property.

Can be used as a function that takes 0 arguments and returns the value of the property type R.

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