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

Method serializeUrl

packages/router/src/router.ts:587–589  ·  view source on GitHub ↗

Serializes a `UrlTree` into a string

(url: UrlTree)

Source from the content-addressed store, hash-verified

585
586 /** Serializes a `UrlTree` into a string */
587 serializeUrl(url: UrlTree): string {
588 return this.urlSerializer.serialize(url);
589 }
590
591 /** Parses a string into a `UrlTree` */
592 parseUrl(url: string): UrlTree {

Callers 4

urlMethod · 0.95
url_tree.spec.tsFile · 0.80
computeHrefMethod · 0.80

Calls 1

serializeMethod · 0.65

Tested by 1