function evaluate(func, args, ret, interpolate, options = {}) {
  return Evaluator.evaluate(func, args, ret, interpolate, undefined, options);
}
Evaluate a method.
@param {Function|string|object} func - The function to evaluate.
@param {*} args - A map of arguments to pass to the function.
@param {string} ret - The name of the "return" variable in the script.
@param {boolean} interpolate - True if the script should be interpolated before being executed.
@param {import('@formio/core').EvaluatorOptions} options - The evaluator options.
@returns {*} - The result of the evaluation.