Duane Malcolm
03/01/2023, 7:19 PMvar bar: String = "5"
var foo: String
get() { return bar }
set(value: String) { bar = value }
set(value: Int) { bar = value.toString() }
set(value: Float) { bar = round(value).toInt().toString() }
Adam S
03/01/2023, 7:26 PMDuane Malcolm
03/01/2023, 7:36 PMephemient
03/01/2023, 8:18 PMval foo: Property<String>
foo = ...
Duane Malcolm
03/02/2023, 5:58 AMsetValue
functions at the moment and that will do until this feature eventuates.