Philipp Horstenkamp c3b63b7fea
Some checks failed
Try out action / pre-commit Autoupdate (push) Failing after 33s
Lint / pre-commit Autoupdate (push) Failing after 41s
Trying a first version.
2024-05-28 22:09:02 +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;