UNPKG

moltres-utils

Version:
19 lines (14 loc) 555 B
"use strict"; 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