Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ getFirstName
Function
getFirstName
packages/shared/src/lib/user.ts:383–385 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
381
};
382
383
export
const
getFirstName = (name: string): string => {
384
return
name?.split?.(
' '
)?.[0] ??
''
;
385
};
386
387
export
const
canViewPostAnalytics = ({
388
user,
Callers
2
BriefPostContentRaw
Function · 0.90
GameCenterPage
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected