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