7 lines
No EOL
141 B
JavaScript
Executable file
7 lines
No EOL
141 B
JavaScript
Executable file
import REGEX from './regex.js';
|
|
|
|
function validate(uuid) {
|
|
return typeof uuid === 'string' && REGEX.test(uuid);
|
|
}
|
|
|
|
export default validate; |