A structure containing a range of cells. Range

{Integer} Starting row.

{Integer} Starting cell.

{Integer} Optional. Ending row. Defaults to fromRow.

{Integer} Optional. Ending cell. Defaults to fromCell.

Constructors

  • A structure containing a range of cells. Range

    Parameters

    • fromRow: Integer

      {Integer} Starting row.

    • fromCell: Integer

      {Integer} Starting cell.

    • toRow: Integer

      {Integer} Optional. Ending row. Defaults to fromRow.

    • toCell: Integer

      {Integer} Optional. Ending cell. Defaults to fromCell.

    Returns Range

Properties

contains: (row: Integer, cell: Integer) => boolean

Returns whether a range contains a given cell.

Type declaration

    • (row: Integer, cell: Integer): boolean
    • Parameters

      • row: Integer

        {Integer}

      • cell: Integer

        {Integer}

      Returns boolean

fromCell: Integer
fromRow: Integer
isSingleCell: () => boolean

Returns whether a range represents a single cell.

Type declaration

    • (): boolean
    • Returns boolean

isSingleRow: () => boolean

Returns whether a range represents a single row.

Type declaration

    • (): boolean
    • Returns boolean

toCell: Integer
toRow: Integer
toString: () => string

Returns a readable representation of a range.

Type declaration

    • (): string
    • Returns string