(control: AbstractControl)
| 500 | * See `Validators.required` for additional information. |
| 501 | */ |
| 502 | export function requiredValidator(control: AbstractControl): ValidationErrors | null { |
| 503 | return isEmptyInputValue(control.value) ? {'required': true} : null; |
| 504 | } |
| 505 | |
| 506 | /** |
| 507 | * Validator that requires the control's value be true. This validator is commonly |
no test coverage detected
searching dependent graphs…