---
url: 'https://adk.nht.io/api/@nhtio/adk/common/functions/implementsByteStore.md'
---

# Function: implementsByteStore()

```ts
function implementsByteStore<R>(value: unknown): value is ByteStore<R>;
```

Defined in: [lib/contracts/byte\_store.ts:113](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/byte_store.ts#L113)

Returns `true` if `value` implements the [ByteStore](../interfaces/ByteStore.md) interface.

## Type Parameters

| Type Parameter | Default type |
| -------------- | ------------ |
| `R`            | `unknown`    |

## Parameters

| Parameter | Type      | Description        |
| --------- | --------- | ------------------ |
| `value`   | `unknown` | The value to test. |

## Returns

`value is ByteStore<R>`

`true` when `value` conforms to the [ByteStore](../interfaces/ByteStore.md) interface.

## Remarks

Duck-typed: checks that `value` is non-null with `write`, `read`, and `delete` as callable
functions. Does not use `instanceof` — there is no `ByteStore` constructor.
