UNPKG

voluptasmollitia

Version:
28 lines (16 loc) 880 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [lite](./firestore_lite.md) &gt; [queryEqual](./firestore_lite.queryequal.md) ## queryEqual() function Returns true if the provided queries point to the same collection and apply the same constraints. <b>Signature:</b> ```typescript export declare function queryEqual<T>(left: Query<T>, right: Query<T>): boolean; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | left | [Query](./firestore_lite.query.md)<!-- -->&lt;T&gt; | A <code>Query</code> to compare. | | right | [Query](./firestore_lite.query.md)<!-- -->&lt;T&gt; | A <code>Query</code> to compare. | <b>Returns:</b> boolean true if the references point to the same location in the same Firestore database.