MCPcopy
hub / github.com/angular/angular / decode

Function decode

packages/router/src/url_tree.ts:552–554  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

550}
551
552export function decode(s: string): string {
553 return decodeURIComponent(s);
554}
555
556// Query keys/values should have the "+" replaced first, as "+" in a query string is " ".
557// decodeURIComponent function will not decode "+" as a space.

Callers 4

decodeQueryFunction · 0.70
parseSegmentMethod · 0.70
parseParamMethod · 0.70
parseMappingsFunction · 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…