TinyBase logoTinyBase

CellCallback

The CellCallback type describes a function that takes a Cell's Id and its value.

(
  cellId: Id,
  cell: Cell,
): void
TypeDescription
cellIdId

The Id of the Cell that the callback can operate on.

cellCell

The value of the Cell.

returnsvoid

This has no return value.

A CellCallback is provided when using the forEachCell method, so that you can do something based on every Cell in a Row. See that method for specific examples.

Since

v1.0.0