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

Function getControlAsyncValidators

packages/forms/src/validators.ts:735–739  ·  view source on GitHub ↗
(
  control: AbstractControl,
)

Source from the content-addressed store, hash-verified

733 * Retrieves the list of raw asynchronous validators attached to a given control.
734 */
735export function getControlAsyncValidators(
736 control: AbstractControl,
737): AsyncValidatorFn | AsyncValidatorFn[] | null {
738 return (control as any)._rawAsyncValidators as AsyncValidatorFn | AsyncValidatorFn[] | null;
739}
740
741/**
742 * Accepts a singleton validator, an array, or null, and returns an array type with the provided

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…