UNPKG

validatees

Version:

✅ Validation library for ES6+ modules

12 lines (11 loc) 376 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isString = void 0; function isString(value) { return ("string" === typeof value || value instanceof String || String === value.constructor || "[object String]" === Object.prototype.toString.call(value)); } exports.isString = isString; exports.default = isString;