Skip to content

typedoc-vitepress-theme-example / utilities / toTitleCase

toTitleCase()

ts
toTitleCase(input): string

Function to convert a string to title case.

Parameters

input: string

The input string.

Returns

string

The input string in title case.