export function capitalize(s?: string) { return s ? s.charAt(0).toUpperCase() + s.slice(1) : ""; }