agsamantha/node_modules/uuid/dist/esm-browser/validate.js
2024-10-02 15:15:21 -05:00

5 lines
No EOL
139 B
JavaScript

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