MCPcopy Create free account
hub / github.com/dailydotdev/apps / getFirstName

Function getFirstName

packages/shared/src/features/lfg/lib/format.ts:115–116  ·  view source on GitHub ↗
(name?: string | null)

Source from the content-addressed store, hash-verified

113};
114
115export const getFirstName = (name?: string | null): string =>
116 name?.trim().split(/\s+/)[0] ?? '';

Callers 7

LfgProfileSectionFunction · 0.90
LfgReachOutModalFunction · 0.90
LfgConversationContextFunction · 0.90
LfgRepoLinkWarningFunction · 0.90
LfgReachOutStateFunction · 0.90
LfgAuthorWidgetFunction · 0.90
PostBodyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected