MCPcopy Index your code
hub / github.com/angular/angular / normalizeQueryParams

Function normalizeQueryParams

packages/common/src/location/util.ts:57–59  ·  view source on GitHub ↗
(params: string)

Source from the content-addressed store, hash-verified

55 * @returns The normalized URL parameters string.
56 */
57export function normalizeQueryParams(params: string): string {
58 return params && params[0] !== '?' ? `?${params}` : params;
59}

Callers 12

replaceStateMethod · 0.90
goMethod · 0.90
isCurrentPathEqualToMethod · 0.90
goMethod · 0.90
replaceStateMethod · 0.90
pathMethod · 0.90
pushStateMethod · 0.90
replaceStateMethod · 0.90
pushStateMethod · 0.90
replaceStateMethod · 0.90
goMethod · 0.50
replaceStateMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…