Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

aggregateQuerySnapshotEqual

Compares two AggregateQuerySnapshot instances for equality.

Two AggregateQuerySnapshot instances are considered "equal" if they have underlying queries that compare equal, and the same data.

function aggregateQuerySnapshotEqual<AggregateSpecType extends AggregateSpec, AppModelType, DbModelType extends DocumentData>(left: AggregateQuerySnapshot<AggregateSpecType, AppModelType, DbModelType>, right: AggregateQuerySnapshot<AggregateSpecType, AppModelType, DbModelType>): boolean;
§
aggregateQuerySnapshotEqual<AggregateSpecType extends AggregateSpec, AppModelType, DbModelType extends DocumentData>(left: AggregateQuerySnapshot<AggregateSpecType, AppModelType, DbModelType>, right: AggregateQuerySnapshot<AggregateSpecType, AppModelType, DbModelType>): boolean
[src]

§Type Parameters

§
AggregateSpecType extends AggregateSpec
[src]
§
AppModelType
[src]
§
DbModelType extends DocumentData
[src]

§Parameters

§
left: AggregateQuerySnapshot<AggregateSpecType, AppModelType, DbModelType>
[src]
  • The first AggregateQuerySnapshot to compare.
§
right: AggregateQuerySnapshot<AggregateSpecType, AppModelType, DbModelType>
[src]
  • The second AggregateQuerySnapshot to compare.

§Return Type

§
boolean
[src]

true if the objects are "equal", as defined above, or false otherwise.