validate

abstract suspend fun validate(value: Any): ValidationResult

Validates the value.