Afanasev_Stepan_PIbd-21_IP/ИП 2 лаба/node_modules/lodash/_setToString.js

15 lines
392 B
JavaScript
Raw Permalink Normal View History

2024-01-10 16:11:49 +04:00
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;