My first action is ready

This commit is contained in:
SethCohen
2022-08-23 22:02:23 -04:00
commit 6df1acd6c0
422 changed files with 96578 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import validate from './validate.js';
function version(uuid) {
if (!validate(uuid)) {
throw TypeError('Invalid UUID');
}
return parseInt(uuid.substr(14, 1), 16);
}
export default version;