Skip to content
Sheetwrite

Sheetwrite / Documentation

CellValue@sheetwrite/core

A cell's persisted input: a literal, a cross-reference, or a formula.

A cell's persisted input: a literal, a cross-reference, or a formula. References resolve through the store's reference graph; formulas resolve in the WASM calculation engine.

Variants 3

{ kind: "literal"; value: CellScalar }
{ kind: "ref"; target: CellAddress }
{ kind: "formula"; src: string }

Declaration

View full TypeScript declaration
export type CellValue =
| {
kind: "literal";
value: CellScalar;
}
| {
kind: "ref";
target: CellAddress;
}
| {
kind: "formula";
src: string;
};