code: public static <R> FuncN<R> toFunc(
              final ActionN action, final R result) {
          return new FuncN<R>() {
              @Override
              public R call(Object... args) {
                  action.call(args);
                  return result;
              }
          };
      }
docs: Converts an {@link ActionN} to a function that calls the action and returns a specified value.
  
  @param action the {@link ActionN} to convert
  @param result the value to return from the function call
  @return a {@link FuncN} that calls {@code action} and returns {@code result}