Skip to content
Sheetwrite

Sheetwrite / Documentation

parseCellLiteralInput@sheetwrite/core

Parse imported text as a literal using the same boolean, number, date, and currency rules as parseCellInput.

Parse imported text as a literal using the same boolean, number, date, and currency rules as parseCellInput. Unlike interactive entry, a leading = remains inert text. Declared date columns also accept an existing finite date serial so delimited export/import preserves numeric dates.

Declaration

function parseCellLiteralInput(
raw: string,
type: CellFormat,
): CellScalar