MCPcopy Create free account
hub / github.com/chhoumann/quickadd / upperFirstLowerRest

Function upperFirstLowerRest

src/utils/caseTransform.ts:50–54  ·  view source on GitHub ↗
(word: string)

Source from the content-addressed store, hash-verified

48}
49
50function upperFirstLowerRest(word: string): string {
51 if (!word) return word;
52 const lower = word.toLowerCase();
53 return lower.slice(0, 1).toUpperCase() + lower.slice(1);
54}
55
56function isAcronym(word: string): boolean {
57 // Contains letters, includes uppercase, and includes no lowercase.

Callers 1

transformCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected