validate

open suspend override fun validate(value: Any?)

Validates the value.

Throws a ValidationResult.Exception if the value matches the excepted type and failed the validation.