code: public long reduceBy(Object function, String name) {
          return Lng.reduceBy(values, end, function, name);
      }
docs: This would be a good opportunity to reintroduce dynamic invoke
  
  @param function function
  @param name     name
  @return result