volva
Version:
Easier type checks for JS/TS variables.
11 lines • 349 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isString = void 0;
const isString = (input) => {
if (input === undefined)
throw new Error('Missing argument');
return typeof input === 'string';
};
exports.isString = isString;
exports.default = exports.isString;
//# sourceMappingURL=strings.js.map