1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/presentation/presenters/utils/strings.ts

4 lines
116 B
TypeScript

export const capitalize = (string: string): string => {
return string.charAt(0).toUpperCase() + string.slice(1)
}