Skip to content

ObjectValidator.validate

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

Validates the target using the currently configured validators. Validation does get triggered when the target changes or when a trigger notifies that a validation should occur.

Only use this method for specific cases where a validation need to be manually triggered, usually this should not be the case.

public validate(): null | TValidationError

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

Returns: null | TValidationError

Clone this wiki locally