Getter

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

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

Can be used as a function that takes an argument of type T (the receiver) and returns the value of the property type R.