Skip to content

ObjectValidator.constructor

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions

Initializes a new instance of the ObjectValidator<TValidatable, TValidationError> class.

public constructor(
  config: IObjectValidatorConfig<TValidatable, TValidationError>
)

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

Parameters

  • config: IObjectValidatorConfig<TValidatable, TValidationError>
    The configuration to initialize the object validator with.
Clone this wiki locally