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