@internal
(
initValue: T,
fn: (acc: T, control: TControl[K], name: K) => T,
)
| 643 | |
| 644 | /** @internal */ |
| 645 | _reduceChildren<T, K extends keyof TControl>( |
| 646 | initValue: T, |
| 647 | fn: (acc: T, control: TControl[K], name: K) => T, |
| 648 | ): T { |
| 649 | let res = initValue; |
| 650 | this._forEachChild((control: TControl[K], name: K) => { |
| 651 | res = fn(res, control, name); |
| 652 | }); |
| 653 | return res; |
| 654 | } |
| 655 | |
| 656 | /** @internal */ |
| 657 | override _allControlsDisabled(): boolean { |
no test coverage detected