MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / displayName

Function displayName

apps/cloud/src/auth/member-directory.ts:41–42  ·  view source on GitHub ↗
(firstName: string | null, lastName: string | null)

Source from the content-addressed store, hash-verified

39// The display name the seam reports: first + last, or nothing. Computed in SQL
40// too (below) so the search term matches what the caller sees.
41const displayName = (firstName: string | null, lastName: string | null): string | null =>
42 [firstName, lastName].filter(Boolean).join(" ") || null;
43
44const makeService = (db: DrizzleDb): MemberDirectoryShape => {
45 const read = <A>(op: string, fn: () => Promise<A>) =>

Callers 1

toMemberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected