setup-python/node_modules/lodash/_setToString.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

15 lines
392 B
JavaScript

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;