Skip to main content

generateUniqueId()

function generateUniqueId(): string

Converts a string to title case, making the first character of each word uppercase. Effective for formatting titles or names in a readable format.

Returns

string

The string transformed to title case.