reduce IDs
Reduces the field IDs to a single value using the given reducer function, excluding the local element.
This is a convenience reduction applied only to the field keys (IDs). If there are no neighbors, the result is null.
Return
the result of the reduction, or null if the field has no neighbors.
Parameters
reducer
a binary operation that reduces two IDs into one.