capitalize

Function

Upper case first letter (only) of a string

Upper case first letter (only) of a string

  • capitalize(word: string) : string

Parameters

Parameter Type Default Notes
word Required string

Returns

Word

string

Function defined in common/src/util.ts:409