isAtSameRow method

bool isAtSameRow(
  1. CellOffset other
)

Whether this position is on the same row as other.

Implementation

bool isAtSameRow(CellOffset other) {
  return y == other.y;
}