3 lines
106 B
JavaScript

export default function _isString(x) {
return Object.prototype.toString.call(x) === '[object String]';
}