DG_LAB/node_modules/lodash/_setToString.js
3944Realms 4b15d70e06 refactor: 重构开发环境
BREAKING CHANGE: 由com.r3944realms.dg_lab_api -> com.r3944realms.dg_lab.api
2025-09-13 10:57:55 +08: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;