Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80742 views
1
/**
2
* Produces the result of coercing the unwrapped value to a string.
3
*
4
* @name toString
5
* @memberOf _
6
* @category Chain
7
* @returns {string} Returns the coerced string value.
8
* @example
9
*
10
* _([1, 2, 3]).toString();
11
* // => '1,2,3'
12
*/
13
function wrapperToString() {
14
return (this.value() + '');
15
}
16
17
module.exports = wrapperToString;
18
19