(value?: boolean)
| 32 | } |
| 33 | |
| 34 | export function booleanText(value?: boolean) { |
| 35 | if (value === undefined) return "-"; |
| 36 | return value ? "Yes" : "No"; |
| 37 | } |
| 38 | |
| 39 | export function formatCost(cost?: number) { |
| 40 | return cost === undefined ? "-" : `$${cost.toFixed(2)}`; |
no outgoing calls
no test coverage detected