This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
p61-project/presentation/presenters/utils/strings.ts

4 lines
116 B
TypeScript
Raw Normal View History

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