• 개요
@angular/forms

ValidatorFn

인터페이스
안정화

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
상세 내용으로 이동