SpreadJS Documentation
contains Method
GC.Spread.Sheets Namespace > Range type : contains Method
The row index.
The column index.
The row count.
The column count.
Gets whether the current range contains the specified cell.
Syntax
var instance = new GC.Spread.Sheets.Range(r, c, rc, cc);
var value; // Type: boolean
value = instance.contains(row, col, rowCount, colCount);
function contains( 
   row : number,
   col : number,
   rowCount : number,
   colCount : number
) : boolean;

Parameters

row
The row index.
col
The column index.
rowCount
The row count.
colCount
The column count.

Return Value

true if the range contains the cell; otherwise, false.
See Also

Reference

Range type