getCellType

returns the data type of a specified cell

string getCellType(number row,number column, [string page] );
rownumberthe row id
columnnumberthe column id
pagestringoptional, the name of the sheet
stringthe data type of a cell ("string"|"date"|"number"|null)

Example

const type = $$("ssheet").getCellType(2,1); // -> "date"

Related samples

Details

Note that the method returns null if no data type is assigned to a cell.

Back to top