Skip to content

@alex.garcia/libfec / Value

Type Alias: Value ​

Value = string | number | Date | null

Defined in: record.ts:32

A value in Record.values:

Column kindValue
textthe raw string, untrimmed ("" stays "")
amounta number; null if blank; the raw string if it doesn't parse
date"YYYY-MM-DD" (or a Date with dates: "date"); null if blank or invalid
any, past the end of a short recordnull

An unparseable amount keeps its raw string, so it stays detectable (typeof v === "string" in an amount column).