Functionutilsv0.7.0capitalizeReturns the word with its first letter capitalized and the rest in lowercase. capitalize(word: string): stringcapitalize(word: string): stringExamplesCopycapitalize('hELLO'); // 'Hello'capitalize('hELLO'); // 'Hello'Paramswordword: stringword: stringThe word to be formatted.