From 0e9353adbe576e921d0671677b876b4316c0449b Mon Sep 17 00:00:00 2001 From: egilmorez Date: Fri, 4 Feb 2022 09:01:20 -0800 Subject: [PATCH] Revise comment for exists() Clarifying that this is a method, not a property (as it was in v8) --- packages/firestore/src/api/snapshot.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/firestore/src/api/snapshot.ts b/packages/firestore/src/api/snapshot.ts index 93829592ee8..658cb728da4 100644 --- a/packages/firestore/src/api/snapshot.ts +++ b/packages/firestore/src/api/snapshot.ts @@ -258,8 +258,7 @@ export class DocumentSnapshot< } /** - * Property of the `DocumentSnapshot` that signals whether or not the data - * exists. True if the document exists. + * Returns whether or not the data exists. True if the document exists. */ exists(): this is QueryDocumentSnapshot { return super.exists();