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