check if something is string a string javascript code example
Example: if is a string javascript
function isString(x) {
return Object.prototype.toString.call(x) === "[object String]"
}
function isString(x) {
return Object.prototype.toString.call(x) === "[object String]"
}