aswi2020vldc-gitlab/templetes/node_modules/lodash/_setToString.js @ ae1ff627
1 | 3a515b92 | cagy | var 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 | */
|
||
12 | var setToString = shortOut(baseSetToString); |
||
13 | |||
14 | module.exports = setToString; |