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