AsyncValidatorFn

interface

npm Package @angular/forms
Module import { AsyncValidatorFn } from '@angular/forms';
Source forms/src/directives/validators.ts

Interface Overview

interface AsyncValidatorFn { 
  (c: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>
}

Members

(c: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/forms/AsyncValidatorFn