setValue

Common
JVM
JS
Native
1.0
abstract operator fun setValue(
    thisRef: R,
    property: KProperty<*>,
    value: T)

Sets the value of the property for the given object.

Parameters

thisRef - the object for which the value is requested.

property - the metadata for the property.

value - the value to set.