eq<U> method

ValueCell<bool> eq<U>(
  1. ValueCell<U> other
)

Returns a new ValueCell which compares the value of this cell to another cell for equality.

The returned ValueCell has a value of true when this cell and other have the same value according to the equality relation, and a value of false otherwise.

The observers of the returned ValueCell are notified when either the value of this cell or other changes.

Implementation

ValueCell<bool> eq<U>(ValueCell<U> other) => equalityCellFactory.makeEq(this, other);