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