source:
trip-planner-front/node_modules/uuid/dist/esm-node/validate.js@
6c1585f
Last change on this file since 6c1585f was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 141 bytes |
Line | |
---|---|
1 | import REGEX from './regex.js'; |
2 | |
3 | function validate(uuid) { |
4 | return typeof uuid === 'string' && REGEX.test(uuid); |
5 | } |
6 | |
7 | export default validate; |
Note:
See TracBrowser
for help on using the repository browser.