maybe create an universal mapping with reification...
# tornadofx
t
maybe create an universal mapping with reification? It will be less performant, but will also make the binding more uniform-looking.
textProperty().mapObservable<Int>{it?.split(" ")?.size ?: 0}
or in this case
textProperty().mapObservable{ it?.split(" ")?.size ?: 0 }