MCPcopy Index your code
hub / github.com/angular/angular / validator

Function validator

packages/forms/src/model/abstract_model.ts:584–586  ·  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

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();

Callers 1

executeValidatorsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…