open static fun <T : Any> combine(first: PropertyValidator<in T>, second: PropertyValidator<in T>): PropertyValidator<T>
(source)
Returns a single validator that combines the results of several validators.
second
- The second validator.
Return
A single validator that combines the results of evaluating the provided validators.
open static fun <T : Any> combine(validators: MutableList<PropertyValidator<in T>>): PropertyValidator<T>
(source)
Returns a single validator that combines the results of several validators.
validators
- The validators to be evaluated.
Return
A single validator that combines the results of evaluating the provided validators.