Of Dsl
Functions
Link copied to clipboard
Adds a Validator to the outer ValidatorDsl that checks property's value with validate.
fun check(isValid: ValidatorDsl.OfDsl<T>.(T) -> Boolean, message: ValidatorDsl.OfDsl<T>.(T) -> String): ValidatorDsl.OfDsl<T>
Adds a Validator to the outer ValidatorDsl that checks the property's value with isValid.
Link copied to clipboard
Adds a Validator to the outer ValidatorDsl that checks that no Exception is thrown inside validate.
Link copied to clipboard
Constructs ValidationInfo from the given message using parameters inferred from the DSL context.