isSingleRange property

bool get isSingleRange

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

Implementation

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