GoScrobble/web/node_modules/lodash-es/_setToString.js

15 lines
390 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import baseSetToString from './_baseSetToString.js';
import shortOut from './_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);
export default setToString;