test/node_modules/lodash/chain/wrapperToString.js

18 lines
342 B
JavaScript
Raw Normal View History

2018-12-13 14:35:46 +01:00
/**
* 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;