Javascript – How to check if a field in Firestore document is a Map?
I have this document: As you can see, the field map is of type Map. I read the data from Firestore using this function: async function getJohn() { var ref = doc(db, "users/john"); const document = await getDoc(ref); if(document.exists()) {…