(str: string)
| 8 | * @returns the capitalized string |
| 9 | */ |
| 10 | export function capitalize(str: string) { |
| 11 | return str.charAt(0).toUpperCase() + str.slice(1); |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * returns true if the given string contains a numeric integer or float value |
no test coverage detected