moltres-utils
Version:
Utils for Moltres apps
19 lines (14 loc) • 555 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _getTag = _interopRequireDefault(require("./getTag"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const isString = value => {
const type = typeof value;
return type == 'string' || type == 'object' && value != null && !Array.isArray(value) && (0, _getTag.default)(value) == '[object String]';
};
var _default = isString;
exports.default = _default;
//# sourceMappingURL=isString.js.map
;