source: trip-planner-front/node_modules/uuid/dist/esm-browser/validate.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 141 bytes
RevLine 
[6a3a178]1import REGEX from './regex.js';
2
3function validate(uuid) {
4 return typeof uuid === 'string' && REGEX.test(uuid);
5}
6
7export default validate;
Note: See TracBrowser for help on using the repository browser.