makeEq<T, U> method

  1. @override
ValueCell<bool> makeEq<T, U>(
  1. ValueCell<T> self,
  2. ValueCell<U> other
)
override

Create a cell which compares whether self is equal to other.

The cell should notify its observers whenever either self or other change their values.

Implementation

@override
ValueCell<bool> makeEq<T, U>(ValueCell<T> self, ValueCell<U> other) =>
    EqCell(self, other);