hood

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

Reduce the elements of the field using the transform function, returning the default value if the field to transform is empty. The local value is not considered.