> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# assertKvMutation()

> Function exported by @botmesh/core/spi.

```ts theme={null}
function assertKvMutation(value): asserts value is KvMutation;
```

Defined in: [durability/kv.ts:212](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/kv.ts#L212)

Throw unless `value` is a [KvMutation](https://botmesh.afaya.com.co/api/core/spi/type-aliases/KvMutation.md) (what an append-only log replays): a
damaged log entry must be refused, never applied as a malformed row.

## Parameters

| Parameter | Type |
| - | - |
| `value` | `unknown` |

## Returns

`asserts value is KvMutation`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.