MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / capitalizeFirstLetter

Function capitalizeFirstLetter

frontend/src/ts/utils/strings.ts:79–81  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

77 * @returns A new string with the first letter capitalized.
78 */
79export function capitalizeFirstLetter(str: string): string {
80 return str.charAt(0).toUpperCase() + str.slice(1);
81}
82
83/**
84 * Normalizes free-form names to canonical storage format.

Callers 11

mode2subtextFunction · 0.90
ShareTestSettingsFunction · 0.90
TitleFunction · 0.90
ItemFunction · 0.90
updateTimeFunction · 0.90
updateWordsFunction · 0.90
buildCommandWithSubgroupFunction · 0.90
buildSubgroupCommandFunction · 0.90
buildInputCommandFunction · 0.90
toggleFunboxFunction · 0.90
metadata.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected