set

fun Value.set(key: Value, value: Value): Boolean

Sets a value in this value, possibly using the metatable.

Return

Whether the value was set.

Parameters

key

The key to set.

value

The value to set.


operator fun MutableMap<Value, Value>.set(key: String, value: Value)