public static BooleanExpression booleanExpression (ObservableBooleanValue value)

Returns a BooleanExpression that wraps a javafx.beans.value.ObservableBooleanValue. If the ObservableBooleanValue is already a BooleanExpression, it will be returned. Otherwise a new javafx.beans.binding.BooleanBinding is created that is bound to the ObservableBooleanValue.

Parameters:
value     The source ObservableBooleanValue

Returns:  A BooleanExpression that wraps the ObservableBooleanValue if necessary

Exceptions:
NullPointerException     if value is null