packages/assert/docs/api/number.asserts/functions/assertNumberSafeInt.md
[**@httpx/assert v0.12.4**](../../README.md) • **Docs**
***
[@httpx/assert v0.12.4](../../README.md) / [number.asserts](../README.md) / assertNumberSafeInt
# Function: assertNumberSafeInt()
> **assertNumberSafeInt**(`v`, `msgOrErrorFactory`?): `asserts v is NumberSafeInt`
Assert string is not empty (trims the string by default)
## Parameters
• **v**: `unknown`
• **msgOrErrorFactory?**: `MsgOrErrorFactory`
## Returns
`asserts v is NumberSafeInt`
## Throws
TypeError
## Defined in
[number.asserts.ts:10](https://github.com/belgattitude/httpx/blob/acde85be3548fccd6cc1a311d7f8d4419e2b6ce0/packages/assert/src/number.asserts.ts#L10)