Getter

JVM
JS
1.0
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.