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

Function getControlValidators

packages/forms/src/validators.ts:728–730  ·  view source on GitHub ↗
(control: AbstractControl)

Source from the content-addressed store, hash-verified

726 * Retrieves the list of raw synchronous validators attached to a given control.
727 */
728export function getControlValidators(control: AbstractControl): ValidatorFn | ValidatorFn[] | null {
729 return (control as any)._rawValidators as ValidatorFn | ValidatorFn[] | null;
730}
731
732/**
733 * Retrieves the list of raw asynchronous validators attached to a given control.

Callers 2

setUpValidatorsFunction · 0.90
cleanUpValidatorsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…