Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
410 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 |
|
---|
8 | var _regex = _interopRequireDefault(require("./regex.js"));
|
---|
9 |
|
---|
10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
11 |
|
---|
12 | function validate(uuid) {
|
---|
13 | return typeof uuid === 'string' && _regex.default.test(uuid);
|
---|
14 | }
|
---|
15 |
|
---|
16 | var _default = validate;
|
---|
17 | exports.default = _default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.