(control: StepControl)
| 628 | } |
| 629 | |
| 630 | function isValid(control: StepControl): boolean { |
| 631 | return isField(control) ? control().valid() : control.valid; |
| 632 | } |
| 633 | |
| 634 | function isInvalid(control: StepControl): boolean { |
| 635 | // Note: it's a bit redundant to have both `isValid` and `isInvalid`. We need both, because |