tornadofx / tornadofx / booleanListBinding

booleanListBinding

fun <T : Any> booleanListBinding(list: ObservableList<T>, itemToBooleanExpr: T.() -> BooleanExpression): BooleanExpression

A Boolean binding that tracks all items in an observable list and create an observable boolean value by anding together an observable boolean representing each element in the observable list. Whenever the list changes, the binding is updated as well