Returns the contents of the quadrille cell at (row, col). Returns undefined if the cell doesn’t exist (out of bounds) — and note undefined == null, so such reads count as empty to isEmpty.

Syntax#

read(row, col)

Parameters#

ParamDescription
rowNumber: row index of the cell to be read [0..height]
colNumber: column index of the cell to be read [0..width]