Is your feature request related to a problem? Please describe.
Cross referencing https://github.com/thenativeweb/uuidv4/issues/221
There is currently no way to know if a given string is a valid uuid of a specific version. We can only know if it is a valid uuid (regardless of the version)
Describe the solution you'd like
add a 2nd argument to validate where we can specify the version of the uuid to check against.
Describe alternatives you've considered
add methods such as validateV4, validateV5, ....
Additional context
See the uuidv4 issue linked on top of the feature request
Is your feature request related to a problem? Please describe.
Cross referencing https://github.com/thenativeweb/uuidv4/issues/221
There is currently no way to know if a given string is a valid uuid of a specific version. We can only know if it is a valid uuid (regardless of the version)
Describe the solution you'd like
add a 2nd argument to
validatewhere we can specify the version of the uuid to check against.Describe alternatives you've considered
add methods such as
validateV4,validateV5, ....Additional context
See the uuidv4 issue linked on top of the feature request