The end of the `fold` builder could use your same ...
# tornadofx
r
The end of the
fold
builder could use your same if statement, but you wouldn't need to pass in an extra value.