belgattitude/httpx

View on GitHub
packages/assert/docs/api/network.asserts/functions/assertNetworkPort.md

Summary

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

***

[@httpx/assert v0.12.4](../../README.md) / [network.asserts](../README.md) / assertNetworkPort

# Function: assertNetworkPort()

> **assertNetworkPort**(`v`, `msgOrErrorFactory`?): `asserts v is NetworkPort`

## Parameters

• **v**: `unknown`

• **msgOrErrorFactory?**: `MsgOrErrorFactory`

## Returns

`asserts v is NetworkPort`

## Throws

TypeError

## Defined in

[network.asserts.ts:9](https://github.com/belgattitude/httpx/blob/acde85be3548fccd6cc1a311d7f8d4419e2b6ce0/packages/assert/src/network.asserts.ts#L9)