any
inline fun <ID : Any, T> Field<ID, T>.any(reductionType: ReductionType = ExcludingSelf, crossinline predicate: Predicate<FieldEntry<ID, T>>): Boolean
Returns true if any element in the field satisfies the given predicate.
The local value is included in the check if reductionType is it.unibo.collektive.stdlib.util.IncludingSelf (the default is it.unibo.collektive.stdlib.util.ExcludingSelf).
Return
true if at least one matching entry exists, false otherwise.
Parameters
reduction Type
controls whether the local entry is included in the check.
predicate
the condition to test for each field entry.