@alex.garcia/libfec / Value
Type Alias: Value
Value =
string|number|Date|null
Defined in: record.ts:32
A value in Record.values:
| Column kind | Value |
|---|---|
| text | the raw string, untrimmed ("" stays "") |
| amount | a 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 record | null |
An unparseable amount keeps its raw string, so it stays detectable (typeof v === "string" in an amount column).