Frontend/25_01_07/mai/node_modules/uuid/dist/validate.js
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00

17 lines
410 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _regex = _interopRequireDefault(require("./regex.js"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function validate(uuid) {
return typeof uuid === 'string' && _regex.default.test(uuid);
}
var _default = validate;
exports.default = _default;