title: How to assign value to dictionary saved as Any in Swift?
body: <p>I have a <strong>value wrapper</strong>, which stores value in <code>Any</code> type. When stored value is a dictionary, I don't know how to update the value of <code>dictionary</code> of specific key. Assignment to casted value causes compile error.</p>
  
  <p>Example:</p>
  
  <pre><code>var learning: Any = [ "name": "C++" ]
  (learning as! [String: String])["name"] = "Swift"
  </code></pre>
  
  <p>Compiler complains "Cannot assign to immutable expression of type 'String?'"</p>