set

expect abstract fun set(receiver: T, value: V)(source)

Modifies the value of the property.

Since Kotlin

1.0

Parameters

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.

actual abstract fun set(receiver: T, value: V)(source)

Modifies the value of the property.

Since Kotlin

1.1

Parameters

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.

actual abstract fun set(receiver: T, value: V)(source)

Modifies the value of the property.

Since Kotlin

1.0

Parameters

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.

actual abstract fun set(receiver: T, value: V)(source)

Since Kotlin

1.3
actual abstract fun set(receiver: T, value: V)(source)

Modifies the value of the property.

Since Kotlin

1.8

Parameters

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.

actual abstract fun set(receiver: T, value: V)(source)

Modifies the value of the property.

Since Kotlin

1.8

Parameters

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.