action-debian-package/node_modules/uuid/dist/esm-node/validate.js
2022-10-27 10:26:28 +02:00

7 lines
141 B
JavaScript

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