Firebase Accessing Snapshot Value Error in Swift 3
<p>I recently upgraded to swift 3 and have been getting an error when trying to access certain things from a snapshot observe event value.</p>

<p>My code:</p>

<pre><code>ref.child("users").child(userID!).observeSingleEvent(of: .value, with: { (snapshot) in

    let username = snapshot.value!["fullName"] as! String
    let homeAddress = snapshot.value!["homeAddress"] as! [Double]
    let email = snapshot.value!["email"] as! String
}
</code></pre>

<p>The error is around the three variables stated above and states:</p>

<p>Type 'Any' has no subscript members</p>

<p>Any help would be much appreciated</p>