This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/tools/utils/capitalize.ts

4 lines
116 B
TypeScript

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