Travis status Dependency status devDependency status npm version ## to-string-x ES6-compliant shim for ToString. **See**: [7.1.12 ToString ( argument )](http://www.ecma-international.org/ecma-262/6.0/#sec-tostring) **Version**: 1.4.2 **Author**: Xotic750 **License**: [MIT](<https://opensource.org/licenses/MIT>) **Copyright**: Xotic750 ### `module.exports(value)` ⇒ string ⏏ The abstract operation ToString converts argument to a value of type String. **Kind**: Exported function **Returns**: string - The converted value. **Throws**: - TypeError If `value` is a Symbol. | Param | Type | Description | | --- | --- | --- | | value | \* | The value to convert to a string. | **Example** ```js var $toString = require('to-string-x'); $toString(); // 'undefined' $toString(null); // 'null' $toString('abc'); // 'abc' $toString(true); // 'true' $toString(Symbol('foo')); // TypeError $toString(Symbol.iterator); // TypeError $toString(Object(Symbol.iterator)); // TypeError $toString(Object.create(null)); // TypeError ```