mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
6 lines
208 B
JavaScript
6 lines
208 B
JavaScript
var isSymbol = require('../internals/is-symbol');
|
|
|
|
module.exports = function (argument) {
|
|
if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a string');
|
|
return String(argument);
|
|
};
|