is Not Empty
fun <T, E, P : Collection<E>> KProperty1<T, P>.isNotEmpty(path: Path<T>, criteriaBuilder: CriteriaBuilder): Predicate(source)
Creates a Predicate 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 Predicate that tests whether a collection is not empty.
Parameters
path
The path of the entity.
criteria Builder
The criteria builder.