* Returns the function that is used to determine the validity of this control synchronously. * If multiple validators have been added, this will be a single composed function. * See `Validators.compose()` for additional information.
()
| 582 | * See `Validators.compose()` for additional information. |
| 583 | */ |
| 584 | get validator(): ValidatorFn | null { |
| 585 | return this._composedValidatorFn; |
| 586 | } |
| 587 | set validator(validatorFn: ValidatorFn | null) { |
| 588 | this._rawValidators = this._composedValidatorFn = validatorFn; |
| 589 | this._updateHasRequiredValidator(); |
no outgoing calls
no test coverage detected
searching dependent graphs…