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
- PropertyValidator<in T>!: The validator to apply to elements of the list.
Return
PropertyValidator<MutableList<T>!>!: A validator that applies a validator to all elements of list, if the list is present.