Skip to content

capitalize

capitalize(value): string

Defined in: packages/core/src/string/capitalize.ts:8

Capitalizes the first letter of a string and the remaining letters as lower case.

string

The input string.

string

The capitalized string.