wishthis/node_modules/uuid/dist/esm-browser/validate.js
2022-08-31 16:34:36 +02:00

7 lines
No EOL
141 B
JavaScript

import REGEX from './regex.js';
function validate(uuid) {
return typeof uuid === 'string' && REGEX.test(uuid);
}
export default validate;