MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / capitalize

Function capitalize

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

Source from the content-addressed store, hash-verified

20 * @example capitalize('hello world') → 'Hello world'
21 */
22export function capitalize(str: string): string {
23 return str.charAt(0).toUpperCase() + str.slice(1)
24}
25
26/**
27 * 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