firesage
Version:
🔥 Extremely High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience
12 lines (11 loc) • 439 B
TypeScript
import { MetaType, Query } from '../types';
/**
* Returns true if the provided queries point to the same collection and apply
* the same constraints.
*
* @param left - A `Query` to compare.
* @param right - A `Query` to compare.
* @returns true if the references point to the same location in the same
* Firestore database.
*/
export declare const queryEqual: (left: Query<MetaType>, right: Query<MetaType>) => boolean;