TinyBase logoTinyBase

GetCell

The GetCell type describes a function that takes a Id and returns the Cell value for a particular Row.

(cellId: Id): CellOrUndefined
TypeDescription
cellIdId

The Id of the Cell to fetch the value for.

returnsCellOrUndefined

A GetCell can be provided when setting definitions, as in the setMetricDefinition method of a Metrics object, or the setIndexDefinition method of an Indexes object. See those methods for specific examples.