3 lines
95 B
JavaScript
3 lines
95 B
JavaScript
module.exports = function isString(str) {
|
|
return str && typeof str.valueOf() === 'string';
|
|
};
|