title: Swift Convert Type Any Object to Type String
body: <p>Below is the code I am using, but the array returns null.</p>
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      
      ref = Database.database().reference().child(&quot;admin1&quot;)
      
      databaseHandle = ref!.observe(.value, with: { (snapshot) in
          self.postData.append(snapshot.value as! String)
          
      })
  </code></pre>
  <p>Is there a way to convert a type any object to type string or display a type any object in a label?</p>