TinyBase logoTinyBase

CellChange

The CellChange type describes a Cell's changes during a transaction.

[changed: boolean, oldCell: CellOrUndefined, newCell: CellOrUndefined]

This is returned by the GetCellChange function that is provided to every listener when called. This array contains the previous value of a Cell before the current transaction, the new value after it, and a convenience flag that indicates that the value has changed.