(cell: string)
| 21 | |
| 22 | const TRUE_VALUES = new Set(['true', 'x', '1', 'yes', 'checked']) |
| 23 | export function isCheckboxTrue(cell: string): boolean { |
| 24 | return TRUE_VALUES.has(cell.trim().toLowerCase()) |
| 25 | } |
| 26 | |
| 27 | function cell(row: DbRow, fieldId: string): string { |
| 28 | return row.cells[fieldId] ?? '' |
no outgoing calls
no test coverage detected