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