MCPcopy Index your code
hub / github.com/codeaashu/claude-code / capitalize

Function capitalize

src/utils/stringUtils.ts:20–22  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

18 * @example capitalize('hello world') → 'Hello world'
19 */
20export function capitalize(str: string): string {
21 return str.charAt(0).toUpperCase() + str.slice(1)
22}
23
24/**
25 * Returns the singular or plural form of a word based on count.

Callers 13

ModelPickerFunction · 0.85
MCPAgentServerMenuFunction · 0.85
MCPRemoteServerMenuFunction · 0.85
MCPStdioServerMenuFunction · 0.85
getSourceTitleFunction · 0.85
ColorPickerFunction · 0.85
toIDEDisplayNameFunction · 0.85
getToolSummaryTextFunction · 0.85
renderModelSettingFunction · 0.85
getAgentModelDisplayFunction · 0.85
validatePermissionRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected