titleize

Function

Capitalize every word in a sentence

  • titleize(value: string) : string

Parameters

Parameter Type Default Notes
value Required string

Returns

a sentence with every word being capitalized

string

Function defined in common/src/utils/titleize.ts:8