title: How do I filter the data returned by a map based on the key
body: <p>I have a react app that uses map to return all the data contained in a firestore document.</p>
  <pre><code>   const getdata = Object.entries(myData)
      .map(pair =&gt; {
          const key = pair[0]
          const value = pair[1]
          return (
              &lt;div className=&quot;card z-depth-2&quot;&gt;
                  &lt;div className=&quot;card-content&quot;&gt;
                      &lt;div className=&quot;thisClass&quot;&gt;
                      &lt;h5&gt;{key}&lt;/h5&gt;
                      &lt;/div&gt;
                      &lt;p&gt;{value}&lt;/p&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          )
      })
  </code></pre>
  <p>This returns all the properties of the document. I would however like to filter out some of the properties, like the uniqueIdentityNumber so it doesn't render that to the screen. I would like to include a filter that says if the key is uniqueIdentityNumber, don't display that. Anyone know how I can do this? Please assist.</p>
  <p>Thanks...</p>