Function capitalize()
capitalize<
S>(string:S):Capitalize<S>
Source: string.utils.ts
Transforms the first character of a string to uppercase.
Type Parameters
S
S extends string = string
Parameters
string
S
The string to capitalize.
Returns
Capitalize<S>
The string with the first character transformed to uppercase.