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

Function composeAsyncValidators

packages/forms/src/validators.ts:706–712  ·  view source on GitHub ↗
(
  validators: Array<AsyncValidator | AsyncValidatorFn>,
)

Source from the content-addressed store, hash-verified

704 * them into a single validator function.
705 */
706export function composeAsyncValidators(
707 validators: Array<AsyncValidator | AsyncValidatorFn>,
708): AsyncValidatorFn | null {
709 return validators != null
710 ? composeAsync(normalizeValidators<AsyncValidatorFn>(validators))
711 : null;
712}
713
714/**
715 * Merges raw control validators with a given directive validator and returns the combined list of

Callers 3

_setAsyncValidatorsFunction · 0.90
constructorMethod · 0.90
coerceToAsyncValidatorFunction · 0.90

Calls 2

composeAsyncFunction · 0.85
normalizeValidatorsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…