collectIDsWithSelf

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

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