Bindings.isEmpty( fooProperty() ) works with: pr...
# tornadofx
g
Bindings.isEmpty( fooProperty() ) works with: private val fooProperty = SimpleStringProperty() fun fooProperty() = fooProperty var foo by fooProperty but not: var foo by property<String>() fun fooProperty() = getProperty(ClassName::foo) The former is an ObservableStringValue and the other is ObjectProperty<String> Is this an expected shortcoming of the getProperty(ClassName::foo) syntax or is there a way around this?