mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-28 12:03:07 +07:00
7 lines
141 B
JavaScript
7 lines
141 B
JavaScript
import REGEX from './regex.js';
|
|
|
|
function validate(uuid) {
|
|
return typeof uuid === 'string' && REGEX.test(uuid);
|
|
}
|
|
|
|
export default validate; |