Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
abstract fun set(receiver: T, value: V)

Modifies the value of the property.


receiver - the receiver which is used to modify the value of the property. For example, it should be a class instance if this is a member property of that class, or an extension receiver if this is a top level extension property.

value - the new value to be assigned to this property.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.