or method

ValueCell<bool> or(
  1. ValueCell<bool> other
)

Create a new cell which is the logical or of this and other.

A keyed cell is returned which is unique for this cell and other.

Implementation

ValueCell<bool> or(ValueCell<bool> other) => ComputeCell(
    compute: () => value || other.value,
    arguments: {this, other},
    key: _OrCellKey(this, other)
);