Home > @firebase/firestore > lite > queryEqual
queryEqual() function
Returns true if the provided queries point to the same collection and apply the same constraints.
Signature:
export declare function queryEqual<T>(left: Query<T>, right: Query<T>): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
left | Query<T> | A Query to compare. |
right | Query<T> | A Query to compare. |
Returns:
boolean
true if the references point to the same location in the same Firestore database.