Spaces:
Paused
Paused
File size: 178 Bytes
83a59ca | 1 2 3 4 5 6 7 8 9 | export function capitalize(value: string | null): string {
if (!value) {
return ''
}
return value.charAt(0).toUpperCase() + value.slice(1)
}
export default capitalize
|