'use strict';

var _baseSetToString = require('./_baseSetToString.js');
var _shortOut = require('./_shortOut.js');

/**
 * 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);

module.exports = setToString;
