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/utils/strings.ts

6 lines
147 B
TypeScript
Raw Permalink Normal View History

2024-05-22 13:44:54 +02:00
export const LOCALE = "en-US"
export const capitalize = (string: string): string => {
return string.charAt(0).toUpperCase() + string.slice(1)
}