ValidatorFn
interface
A function that receives a control and synchronously returns a map of validation errors if present, otherwise null.
API
interface ValidatorFn { (control: AbstractControl<any, any>): ValidationErrors;}
Jump to details
A function that receives a control and synchronously returns a map of validation errors if present, otherwise null.
interface ValidatorFn { (control: AbstractControl<any, any>): ValidationErrors;}