PropertyGetter

fun interface PropertyGetter<in T, V>

Functional interface for getting property values from objects. Provides a unified way to access properties regardless of whether they are static values, computed properties, or actual object properties.

Parameters

T

the type of the target object

V

the type of the property value

Inheritors

Functions

Link copied to clipboard
abstract operator fun get(receiver: T): V

Gets the property value from the specified receiver object.

Link copied to clipboard

Converts a property getter into a named aggregate getter.