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

Method hasChildren

packages/router/src/url_tree.ts:342–344  ·  view source on GitHub ↗

Whether the segment has child segments

()

Source from the content-addressed store, hash-verified

340
341 /** Whether the segment has child segments */
342 hasChildren(): boolean {
343 return this.numberOfChildren > 0;
344 }
345
346 /** Number of child segments */
347 get numberOfChildren(): number {

Callers 11

serializeSegmentFunction · 0.45
squashSegmentGroupFunction · 0.45
updateSegmentGroupFunction · 0.45
processSegmentGroupMethod · 0.45
defaultUrlMatcherFunction · 0.45
matchFunction · 0.45
emptyPathMatchFunction · 0.45
noLeftoversInUrlFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected