(value)
| 9 | * @returns {string} - The converted value |
| 10 | */ |
| 11 | const convertToTitleCase = (value) => { |
| 12 | // Convert the table header values to title case |
| 13 | return value |
| 14 | .split('_') |
| 15 | .map((x) => x.charAt(0).toUpperCase() + x.slice(1)) |
| 16 | .join(' ') |
| 17 | } |
| 18 | |
| 19 | const formatNumber = (value, col) => { |
| 20 | if (value === null) { |
nothing calls this directly
no outgoing calls
no test coverage detected