mirror of
https://github.com/ASzc/change-string-case-action.git
synced 2024-11-24 00:43:51 +08: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; |