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

# Function: implementsMediaReader()

```ts
function implementsMediaReader(value: unknown): value is MediaReader;
```

Defined in: [lib/contracts/media\_reader.ts:79](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/contracts/media_reader.ts#L79)

Returns `true` if `value` implements the MediaReader interface.

## Parameters

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

## Returns

`value is MediaReader`

`true` when `value` conforms to the MediaReader interface.

## Remarks

Duck-typed: checks that `value` is non-null with `stream` and `byteLength` as callable
functions. Does not use `instanceof` — there is no MediaReader constructor.
