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

Function matched

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

Source from the content-addressed store, hash-verified

231}
232
233function matched(snippet: SnippetResult | undefined): boolean {
234 return snippet?.matchLevel !== undefined && snippet.matchLevel !== 'none';
235}
236
237function extractPackageNameFromUrl(url: string): string | null {
238 const extractedSegment = url.match(/\/api\/(.*)\/.*#?/);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected