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