AJSF API reference
    Preparing search index...

    Function _executeValidators

    • '_executeValidators' utility function

      Validates a control against an array of validators, and returns an array of the same length containing a combination of error messages (from invalid validators) and null values (from valid validators)

      // { AbstractControl } control - control to validate // { IValidatorFn[] } validators - array of validators // { boolean } invert - invert? // { PlainObject[] } - array of nulls and error message

      Parameters

      • control: any
      • validators: any
      • invert: boolean = false

      Returns any