import baseSetToString from './_baseSetToString.mjs';
import shortOut from './_shortOut.mjs';

/**
 * Sets the `toString` method of `func` to return `string`.
 *
 * @private
 * @param {Function} func The function to modify.
 * @param {Function} string The `toString` result.
 * @returns {Function} Returns `func`.
 */
var setToString = shortOut(baseSetToString);

export { setToString as default };
