open static fun <T : Any> allInList(validator: PropertyValidator<in T>): PropertyValidator<MutableList<T>>
(source)
A validator that applies a validator to all elements of list, if the list is present.
validator
- The validator to apply to elements of the list.
Return
A validator that applies a validator to all elements of list, if the list is present.