is Not Empty
fun <T : Any, E, P : Collection<E>> KProperty1<T, P>.isNotEmpty(): PredicateSpecification<T>(source)
Creates a PredicateSpecification that tests whether a collection is not empty.
Receiver
T – the type of the entity.
E - the type of the element in the Collection.
P - the type of the Collection property.
Return
A PredicateSpecification that tests whether a collection is not empty.