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

Function getFirstQueryParam

packages/shared/src/lib/func.ts:404–407  ·  view source on GitHub ↗
(
  queryParam: string | string[] | undefined,
)

Source from the content-addressed store, hash-verified

402};
403
404export const getFirstQueryParam = (
405 queryParam: string | string[] | undefined,
406): string | undefined =>
407 Array.isArray(queryParam) ? queryParam[0] : queryParam;

Callers 9

getInviteReferralFunction · 0.90
useShareLinkClickFunction · 0.90
OAuthConsentPageFunction · 0.90
CreatePostFunction · 0.90
getServerSidePropsFunction · 0.90
AiFluencyQuizPageFunction · 0.90
AgentClaimPageFunction · 0.90
sanitizeParamFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected