Function Reduce.reduce

U reduce(T, U) (
  T array,
  U function(U, U) op
);