collect IDs Matching Values
inline fun <ID : Any, T> Field<ID, T>.collectIDsMatchingValues(reductionType: ReductionType = ExcludingSelf, crossinline predicate: Predicate<T>): Set<ID>
Collects the IDs of entries whose values satisfy the given predicate.
By default, the local ID is excluded from the result. It is included only if reductionType is it.unibo.collektive.stdlib.util.IncludingSelf.
Return
a set of IDs from entries that satisfy the value predicate.
Parameters
reduction Type
specifies whether to include the local ID (default is ExcludingSelf).
predicate
the filter applied to each entry’s value.