mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-27 12:14:45 +01:00
7 lines
No EOL
141 B
JavaScript
7 lines
No EOL
141 B
JavaScript
import REGEX from './regex.js';
|
|
|
|
function validate(uuid) {
|
|
return typeof uuid === 'string' && REGEX.test(uuid);
|
|
}
|
|
|
|
export default validate; |