public static BooleanExpression booleanExpression (ObservableValue<Boolean> value)

Returns a BooleanExpression that wraps an javafx.beans.value.ObservableValue. If the ObservableValue is already a BooleanExpression, it will be returned. Otherwise a new javafx.beans.binding.BooleanBinding is created that is bound to the ObservableValue. Note: null values will be interpreted as "false".

value     The source ObservableValue

Returns:  A BooleanExpression that wraps the ObservableValue if necessary

NullPointerException     if value is null

Since:  JavaFX 8.0