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

Function noLeftoversInUrl

packages/router/src/utils/config_matching.ts:225–231  ·  view source on GitHub ↗
(
  segmentGroup: UrlSegmentGroup,
  segments: UrlSegment[],
  outlet: string,
)

Source from the content-addressed store, hash-verified

223}
224
225export function noLeftoversInUrl(
226 segmentGroup: UrlSegmentGroup,
227 segments: UrlSegment[],
228 outlet: string,
229): boolean {
230 return segments.length === 0 && !segmentGroup.hasChildren();
231}

Callers 1

processSegmentMethod · 0.90

Calls 1

hasChildrenMethod · 0.45

Tested by

no test coverage detected