astra / web /node_modules /lodash /_setToString.js
Lorenzob's picture
Upload folder using huggingface_hub
19605ab verified
raw
history blame
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;