Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ getInitials
Function
getInitials
web/lib/collaboration/presence.ts:108–115 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
106
}
107
108
export
function
getInitials(name: string): string {
109
return
name
110
.split(
" "
)
111
.map((n) => n[0])
112
.slice(0, 2)
113
.join(
""
)
114
.toUpperCase();
115
}
Callers
1
UserAvatar
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected