[**Documentation**](../../../README)

***

[Documentation](../../../README) / [@zerotal/inertia](../README) / assetVersion

# Function: assetVersion()

> **assetVersion**(): `string`

Defined in: [inertia/src/version.ts:20](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/inertia/src/version.ts#L20)

Returns the current asset version.
Used in every PageObject response so the client can detect
asset changes and trigger a full reload (409 Conflict response).

## Returns

`string`

The asset version string (empty until set at boot).
