Files
gridpilot.gg/apps/website/lib/display-objects/DashboardCountDisplay.ts
2026-01-17 22:55:03 +01:00

14 lines
299 B
TypeScript

/**
* DashboardCountDisplay
*
* Deterministic count formatting for dashboard display.
*/
export class DashboardCountDisplay {
static format(count: number | null | undefined): string {
if (count === null || count === undefined) {
return '0';
}
return count.toString();
}
}