MCPcopy Create free account
hub / github.com/angular/angular / validator

Function validator

packages/forms/src/model/abstract_model.ts:599–601  ·  view source on GitHub ↗

* 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.

()

Source from the content-addressed store, hash-verified

597 * See `Validators.compose()` for additional information.
598 */
599 get validator(): ValidatorFn | null {
600 return this._composedValidatorFn;
601 }
602 set validator(validatorFn: ValidatorFn | null) {
603 this._rawValidators = this._composedValidatorFn = validatorFn;
604 this._updateHasRequiredValidator();

Callers 1

executeValidatorsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected