MCPcopy Create free account
hub / github.com/angular/components / isValid

Function isValid

src/cdk/stepper/stepper.ts:630–632  ·  view source on GitHub ↗
(control: StepControl)

Source from the content-addressed store, hash-verified

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

Callers 2

isValidMethod · 0.85
completedMethod · 0.85

Calls 1

isFieldFunction · 0.85

Tested by

no test coverage detected