collectIDs

inline fun <ID : Any, T> Field<ID, T>.collectIDs(crossinline predicate: (ID, T) -> Boolean = { _, _ -> true }): Set<ID>

Returns the Set of neighbor IDs whose field entries satisfy the predicate. ignoring the local value.