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

Function locationToString

packages/shared/src/lib/utils.ts:68–74  ·  view source on GitHub ↗
(loc: Partial<TLocation>)

Source from the content-addressed store, hash-verified

66};
67
68export const locationToString = (loc: Partial<TLocation>) => {
69 if (!loc) {
70 return undefined;
71 }
72
73 return [loc.city, loc.subdivision, loc.country].filter(Boolean).join(', ');
74};
75
76export const excludeProperties = <
77 T,

Callers 11

PreferenceOptionsFormFunction · 0.90
ProfileHeaderFunction · 0.90
ProfileLocationFunction · 0.90
OrganizationEditFormFunction · 0.90
getDisplayLocationFunction · 0.90
LocationStepFunction · 0.90
OrganizationEditFieldsFunction · 0.90
AcceptPageFunction · 0.90
JobPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected