test/node_modules/lodash/chain/wrapperToString.js
2018-12-13 14:35:49 +01:00

18 lines
342 B
JavaScript

/**
* Produces the result of coercing the unwrapped value to a string.
*
* @name toString
* @memberOf _
* @category Chain
* @returns {string} Returns the coerced string value.
* @example
*
* _([1, 2, 3]).toString();
* // => '1,2,3'
*/
function wrapperToString() {
return (this.value() + '');
}
module.exports = wrapperToString;