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

Function root

packages/forms/src/model/abstract_model.ts:1653–1661  ·  view source on GitHub ↗

* Retrieves the top-level ancestor of this control.

()

Source from the content-addressed store, hash-verified

1651 * Retrieves the top-level ancestor of this control.
1652 */
1653 get root(): AbstractControl {
1654 let x: AbstractControl = this;
1655
1656 while (x._parent) {
1657 x = x._parent;
1658 }
1659
1660 return x;
1661 }
1662
1663 /** @internal */
1664 _updateControlsErrors(

Callers 1

submit.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…