hood

fun <ID : Any, T> Field<ID, T>.hood(default: T, transform: (T, T) -> T): T

Reduce the elements of the field using the transform function. The local value is not considered, unless explicitly passed as default.