TinyBase logoTinyBase

ResultCellCallback

The ResultCellCallback type describes a function that takes a ResultCell's Id and its value.

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

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

cellResultCell

The value of the ResultCell.

returnsvoid

This has no return value.

A ResultCellCallback is provided when using the forEachResultCell method, so that you can do something based on every ResultCell in a ResultRow. See that method for specific examples.

Since

v2.0.0