MCPcopy 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
383export const getFirstName = (name: string): string => {
384 return name?.split?.(' ')?.[0] ?? '';
385};
386
387export const canViewPostAnalytics = ({
388 user,

Callers 2

BriefPostContentRawFunction · 0.90
GameCenterPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected