title: DocumentReference.get(<Field>) Not working
body: <p>I am simply trying to find this boolean value, and if it's true, then it would execute a code. Or else, it would execute another code. I cannot seem to read this boolean value in Firebase.</p>
  
  <p><a href="https://i.stack.imgur.com/XYfZC.png" rel="nofollow noreferrer">This is the data I am trying to read.</a></p>
  
  <p>It says <a href="https://firebase.google.com/docs/reference/js/firebase.firestore.DocumentSnapshot.html#get" rel="nofollow noreferrer">here</a> that I can do <code>.get(fieldPath)</code> but I might be doing it wrong. Firebase documentation is really bad. haha</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>checkIfLoggedIn = () =&gt; {
      firebase.auth().onAuthStateChanged(user =&gt; {
        if (user) {
          const uid = firebase.auth().currentUser.uid;
          const db = firebase.firestore();
          db.collection('users')
            .doc(uid)
            .get('uid.isStore')
            .then(snapshot =&gt; {
              // Trying to find how to do this
              console.log(snapshot);
            });
          this.props.navigation.navigate('mainNav');
        } else {
          this.props.navigation.navigate('signup');
        }
      });
    };</code></pre>
  </div>
  </div>
  </p>