isSingleRange property

bool isSingleRange

Checks if the Range represents a single cell or Range of cells. Read-only.

Implementation

bool get isSingleRange {
  return row == lastRow && column == lastColumn;
}