UNPKG
@httpx/assert
Version:
latest (0.16.7)
0.16.7
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.0
0.13.2
0.13.1
0.13.0
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.3
0.10.2
0.10.1
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.7
0.6.5
0.6.4
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Assertions and typeguards
belgattitude.github.io/httpx/assert
belgattitude/httpx
@httpx/assert
/
dist
/
uuid.helpers.mjs
2 lines
•
293 B
JavaScript
View Raw
1
2
import
{uuidSupportedVersions}
from
'./uuid.utils.mjs'
;
var
t
=r=>{
if
(
typeof
r!=
"string"
)
return
null
;
let
e=
Number
.
parseInt
(r.
slice
(
14
,
15
),
16
);
return
uuidSupportedVersions.
has
(e)?
e
:
null
};
export
{t
as
getUuidVersion};
//# sourceMappingURL=uuid.helpers.mjs.map
//# sourceMappingURL=uuid.helpers.mjs.map