aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_setToString.js
blob: 6ca8419678fb443f9437ce9b88c962b1c1da0dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var baseSetToString = require('./_baseSetToString'),
    shortOut = require('./_shortOut');

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