@angular/forms

AsyncValidatorFn

interface

A function that receives a control and returns a Promise or observable that emits validation errors if present, otherwise null.

  
    interface AsyncValidatorFn {interface AsyncValidatorFn {  (control: AbstractControl<any, any>): Promise<ValidationErrors> | Observable<ValidationErrors>;}}
  
  
Jump to details