ObjectValidator.add - Andrei15193/react-model-view-viewmodel GitHub Wiki

Configures the given validators and validates the target afterwards.

public add(
  ...validators: readonly (IValidator<TValidatable, TValidationError> | ValidatorCallback<TValidatable, TValidationError>)[]
): this

Source reference: src/validation/objectValidator/ObjectValidator.ts:111.

Parameters

Returns: this

Returns the current object validator.

⚠️ **GitHub.com Fallback** ⚠️