W3cubDocs

/Kotlin

setValue

inline operator fun <V> MutableMap<in String, in V>.setValue(
    thisRef: Any?, 
    property: KProperty<*>, 
    value: V)

Stores the value of the property for the given object in this mutable map.

Parameters

thisRef - the object for which the value is requested (not used).

property - the metadata for the property, used to get the name of property and store the value associated with that name in the map.

value - the value to set.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/set-value.html