belgattitude/httpx

View on GitHub
packages/assert/docs/api/uuid.asserts/functions/assertUuidV1.md

Summary

Maintainability
Test Coverage
[**@httpx/assert v0.12.4**](../../README.md) • **Docs**

***

[@httpx/assert v0.12.4](../../README.md) / [uuid.asserts](../README.md) / assertUuidV1

# Function: assertUuidV1()

> **assertUuidV1**(`v`, `msgOrErrorFactory`?): `asserts v is UuidV1`

Asserts a value is a valid uuid v1

## Parameters

• **v**: `unknown`

• **msgOrErrorFactory?**: `MsgOrErrorFactory`

## Returns

`asserts v is UuidV1`

## Throws

TypeError

## Defined in

[uuid.asserts.ts:44](https://github.com/belgattitude/httpx/blob/acde85be3548fccd6cc1a311d7f8d4419e2b6ce0/packages/assert/src/uuid.asserts.ts#L44)