The Wayback Machine - https://web.archive.org/web/20260217033057/https://angular.dev/api/forms/ValidatorFn
    • Overview
@angular/forms

ValidatorFn

interface
stable

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, any>): ValidationErrors | null;}
    
    

ValidationErrors | null
@paramcontrolAbstractControl<any, any, any>
@returnsValidationErrors | null
Jump to details
HTTPS · web.archive.org
← Home