ValidatorFn

interface

interface ValidatorFn {
  (control: AbstractControl): ValidationErrors | null
}

Methods

(control: AbstractControl): ValidationErrors | null

Parameters

control

Type: AbstractControl.

Returns

ValidationErrors | null

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/forms/ValidatorFn