<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [Bytes](./firestore_.bytes.md) &gt; [isEqual](./firestore_.bytes.isequal.md)

## Bytes.isEqual() method

Returns true if this `Bytes` object is equal to the provided one.

<b>Signature:</b>

```typescript
isEqual(other: Bytes): boolean;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  other | [Bytes](./firestore_.bytes.md) | The <code>Bytes</code> object to compare against. |

<b>Returns:</b>

boolean

true if this `Bytes` object is equal to the provided one.

