MCPcopy Create free account
hub / github.com/angular/angular / extractSearchTerm

Method extractSearchTerm

adev/src/app/features/not-found/not-found.ts:33–35  ·  view source on GitHub ↗
(url: UrlSegment[])

Source from the content-addressed store, hash-verified

31 }
32
33 private extractSearchTerm(url: UrlSegment[]): string {
34 return url.join(' ').replace(/[-_/]/g, ' ');
35 }
36}

Callers 1

constructorMethod · 0.95

Calls 2

joinMethod · 0.65
replaceMethod · 0.45

Tested by

no test coverage detected