Type Alias: Primitive¶
Primitive =
string|number|boolean|null
JS-compatible primitive values (serializable, no object types).
undefined is intentionally excluded: it represents JS "uninitialized"
semantics and should never appear as a data value in spreadsheets.
Use null to express "value is absent" — in Google Sheets, empty cells
are treated as null, not undefined.
Example¶
TypeScript
const value: Primitive = "Alice";
const missing: Primitive = null;
const values: Primitive[] = ["text", 42, true, null];