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

Function matched

adev/shared-docs/services/search.service.ts:219–221  ·  view source on GitHub ↗
(snippet: SnippetResult | undefined)

Source from the content-addressed store, hash-verified

217}
218
219function matched(snippet: SnippetResult | undefined): boolean {
220 return snippet?.matchLevel !== undefined && snippet.matchLevel !== 'none';
221}
222
223function extractPackageNameFromUrl(url: string): string | null {
224 const extractedSegment = url.match(/\/api\/(.*)\/.*#?/);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…