source: node_modules/lodash/_setToString.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 392 bytes
RevLine 
[d24f17c]1var baseSetToString = require('./_baseSetToString'),
2 shortOut = require('./_shortOut');
3
4/**
5 * Sets the `toString` method of `func` to return `string`.
6 *
7 * @private
8 * @param {Function} func The function to modify.
9 * @param {Function} string The `toString` result.
10 * @returns {Function} Returns `func`.
11 */
12var setToString = shortOut(baseSetToString);
13
14module.exports = setToString;
Note: See TracBrowser for help on using the repository browser.