new_test / node_modules /lodash /_setToString.js
mahiatlinux's picture
Upload 3053 files
311cc15 verified
raw
history blame contribute delete
392 Bytes
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;