> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# isBytesLike

```ts theme={null}
function isBytesLike(value): value is BytesLike
```

Returns true if `value` is a valid representation of arbitrary data (i.e. a valid
DataHexString | **DataHexString** or a Uint8Array).

## Parameters

| Parameter | Type  | Description         |
| :-------- | :---- | :------------------ |
| `value`   | `any` | The value to check. |

## Returns

`value is BytesLike`

True if the value is a valid DataHexString | **DataHexString**.

## Source

[utils/data.ts:121](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/utils/data.ts#L121)
