← Docs
kotlin-stdlib / kotlin.reflect / KProperty0 / Getter

Getter

JVM
1.0
interface Getter < out V > : KProperty.Getter < V > , ( ) -> V
(source)

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 V .

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 .