@internal
(condition: (c: AbstractControl) => boolean)
| 622 | |
| 623 | /** @internal */ |
| 624 | override _anyControls(condition: (c: AbstractControl) => boolean): boolean { |
| 625 | for (const [controlName, control] of Object.entries(this.controls)) { |
| 626 | if (this.contains(controlName as any) && condition(control as any)) { |
| 627 | return true; |
| 628 | } |
| 629 | } |
| 630 | return false; |
| 631 | } |
| 632 | |
| 633 | /** @internal */ |
| 634 | _reduceValue(): Partial<TControl> { |