MCPcopy
hub / github.com/angular/angular / parseQueryParams

Method parseQueryParams

packages/router/src/url_tree.ts:632–640  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

630 }
631
632 parseQueryParams(): Params {
633 const params: Params = {};
634 if (this.consumeOptional('?')) {
635 do {
636 this.parseQueryParam(params);
637 } while (this.consumeOptional('&'));
638 }
639 return params;
640 }
641
642 parseFragment(): string | null {
643 return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;

Callers 1

parseMethod · 0.95

Calls 2

consumeOptionalMethod · 0.95
parseQueryParamMethod · 0.95

Tested by

no test coverage detected