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

refEqual

Returns true if the provided references are equal.

function refEqual<AppModelType, DbModelType extends DocumentData>(left: DocumentReference<AppModelType, DbModelType> | CollectionReference<AppModelType, DbModelType>, right: DocumentReference<AppModelType, DbModelType> | CollectionReference<AppModelType, DbModelType>): boolean;
§
refEqual<AppModelType, DbModelType extends DocumentData>(left: DocumentReference<AppModelType, DbModelType> | CollectionReference<AppModelType, DbModelType>, right: DocumentReference<AppModelType, DbModelType> | CollectionReference<AppModelType, DbModelType>): boolean
[src]

§Type Parameters

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

§Parameters

§
left: DocumentReference<AppModelType, DbModelType> | CollectionReference<AppModelType, DbModelType>
[src]
  • A reference to compare.
§
right: DocumentReference<AppModelType, DbModelType> | CollectionReference<AppModelType, DbModelType>
[src]
  • A reference to compare.

§Return Type

§
boolean
[src]

true if the references point to the same location in the same Firestore database.