utils.string.capitalize
capitalize(str: string) → {string}
converts the first character of the given string to uppercase
Name | Type | Description |
---|---|---|
str | string |
the string to be capitalized |
Type | Description |
---|---|
string |
the capitalized string |