source: trip-planner-front/node_modules/uuid/dist/validate.js@ fa375fe

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
RevLine 
[6a3a178]1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8var _regex = _interopRequireDefault(require("./regex.js"));
9
10function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
12function validate(uuid) {
13 return typeof uuid === 'string' && _regex.default.test(uuid);
14}
15
16var _default = validate;
17exports.default = _default;
Note: See TracBrowser for help on using the repository browser.