NET-Web-API-w-Angular/my-app/node_modules/uuid/dist/esm-node/validate.js

7 lines
141 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
import REGEX from './regex.js';
function validate(uuid) {
return typeof uuid === 'string' && REGEX.test(uuid);
}
export default validate;