You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
410 B
JavaScript
17 lines
410 B
JavaScript
12 months ago
|
"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;
|