MCPcopy Index your code
hub / github.com/getsentry/sentry / parseQueryString

Function parseQueryString

tests/js/sentry-test/reactTestingLibrary.tsx:285–291  ·  view source on GitHub ↗
(query: Record<string, string | number | string[]> | undefined)

Source from the content-addressed store, hash-verified

283}
284
285function parseQueryString(query: Record<string, string | number | string[]> | undefined) {
286 if (!query) {
287 return '';
288 }
289 const queryString = qs.stringify(query);
290 return queryString ? `?${queryString}` : '';
291}
292
293function getInitialRouterConfig(options: InitialRouterOptions): {
294 config: RouterConfig | undefined;

Callers 1

parseLocationConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected