Represents a range of one or more cells.

SpreadsheetCellRange

new SpreadsheetCellRange(firstRow: number, firstColumn: number): SpreadsheetCellRange

Returns SpreadsheetCellRange

$t: Type
empty: SpreadsheetCellRange

Returns the index of the first column in the range.

get firstColumn(): number

Returns number

Returns the index of the first row in the range.

get firstRow(): number

Returns number

Returns a boolean indicating if the structure represents a valid range.

get isEmpty(): boolean

Returns boolean

Returns a boolean indicating if the range represents a single cell.

get isSingleCell(): boolean

Returns boolean

Returns the index of the last column in the range.

get lastColumn(): number

Returns number

Returns the index of the last row in the range.

get lastRow(): number

Returns number

Returns a boolean indicating if the specified cell is within the range.

contains(cell: SpreadsheetCell): boolean

Parameters

Returns boolean

Compares the value of this SheetCellRange instance to the specified [[SpreadsheetCellRange]].

equals(other: SpreadsheetCellRange): boolean

Parameters

Returns boolean

Compares the specified [[SpreadsheetCellRange]] to this instance's values.

equals1(obj: any): boolean

Parameters

  • obj: any

    The object to compare to the current instance

Returns boolean

Returns a hash value for the [[SpreadsheetCellRange]]

getHashCode(): number

Returns number

Returns a range that represents the common area within the current and specified range.

intersect(range: SpreadsheetCellRange): SpreadsheetCellRange

Parameters

Returns SpreadsheetCellRange

Returns a boolean indicating if the current and specified range overlap.

intersectsWith(range: SpreadsheetCellRange): boolean

Parameters

Returns boolean

Returns a string representation of the [[SpreadsheetCellRange]]

toString(): string

Returns string

Returns a range that contains the contains the current and specified range.

union(range: SpreadsheetCellRange): SpreadsheetCellRange

Parameters

Returns SpreadsheetCellRange

staticInit(): void

Returns void