Skip to content

ObjectValidator.constructor

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

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

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

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

Parameters

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