* Retrieves the top-level ancestor of this control.
()
| 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( |
no outgoing calls
no test coverage detected
searching dependent graphs…