OCA_Backend/api/node_modules/uuid/dist/esm-browser/validate.js

7 lines
141 B
JavaScript
Raw Normal View History

2022-01-22 13:36:44 +00:00
import REGEX from './regex.js';
function validate(uuid) {
return typeof uuid === 'string' && REGEX.test(uuid);
}
export default validate;