MCPcopy
hub / github.com/angular/angular / serializeMatrixParams

Function serializeMatrixParams

packages/router/src/url_tree.ts:566–570  ·  view source on GitHub ↗
(params: {[key: string]: string})

Source from the content-addressed store, hash-verified

564}
565
566function serializeMatrixParams(params: {[key: string]: string}): string {
567 return Object.entries(params)
568 .map(([key, value]) => `;${encodeUriSegment(key)}=${encodeUriSegment(value)}`)
569 .join('');
570}
571
572function serializeQueryParams(params: {[key: string]: any}): string {
573 const strParams: string[] = Object.entries(params)

Callers 1

serializePathFunction · 0.85

Calls 4

mapMethod · 0.80
encodeUriSegmentFunction · 0.70
joinMethod · 0.65
entriesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…