title: Retrieving only string values from firebase
body: <p><a href="https://i.stack.imgur.com/naOiQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/naOiQ.png" alt="enter image description here"></a></p>
  
  <p>As you can see from the image above underlined in red, I have a child that has a String value along with an Int Value. Now is it possible to retrieve only the String value? At the moment I'm using the code below but it retrieves the string and Int values not just the string value. I can't seem to figure how to isolate the string value. Any help would greatly appreciated. Thanks </p>
  
  <pre><code>Database.database().reference().child("likes").child(self.userUID).observe(.value, with: { (snapshot) in
  
      if let dictionary = snapshot.value as? [String: Any]{
      let uid = dictionary[""] as! String
      print("uid")
          }
      })
  </code></pre>