amis-rpc-design/node_modules/uuid/dist/esm-browser/validate.js

7 lines
141 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import REGEX from './regex.js';
function validate(uuid) {
return typeof uuid === 'string' && REGEX.test(uuid);
}
export default validate;