or method

Combines the current validator with another validator using logical OR.

Implementation

FormFieldValidator<T> or(FormFieldValidator<T> other) {
  return FormBuilderValidators.or(<FormFieldValidator<T>>[this, other]);
}