(str: string)
| 28 | * @returns The string with the first letter capitalized. |
| 29 | */ |
| 30 | export function capitalize(str: string): string { |
| 31 | return str.charAt(0).toUpperCase() + str.slice(1); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Converts a kebab-case string to camelCase. |
no outgoing calls
no test coverage detected