packages/assert/docs/api/uuid.helpers/functions/getUuidVersion.md
[**@httpx/assert v0.12.4**](../../README.md) • **Docs**
***
[@httpx/assert v0.12.4](../../README.md) / [uuid.helpers](../README.md) / getUuidVersion
# Function: getUuidVersion()
> **getUuidVersion**(`uuid`): `false` \| [`UuidVersion`](../../uuid.types/type-aliases/UuidVersion.md)
Adapted from https://github.com/uuidjs/uuid/blob/main/src/version.js
## Parameters
• **uuid**: `string`
## Returns
`false` \| [`UuidVersion`](../../uuid.types/type-aliases/UuidVersion.md)
## Defined in
[uuid.helpers.ts:7](https://github.com/belgattitude/httpx/blob/acde85be3548fccd6cc1a311d7f8d4419e2b6ce0/packages/assert/src/uuid.helpers.ts#L7)