What I have doesn't do exactly what you want, but ...
# tornadofx
a
What I have doesn't do exactly what you want, but you could apply the methods for your use: filter for
it.contains([whatever you're looking for])
, then if you find it, you can change the default value in apply, otherwise keep it the same