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