title: Parameter from Notification Dictionary Any or Bool?
body: <p>I'm confused because I'm passing a parameter by <code>Notification</code> between two ViewControllers. I than try to use the parameter passed as <code>Bool</code> to go forward:</p>
  
  <pre><code>func doWhenParameterSelected(notification: Notification) {
  
      let status = notification.userInfo!["key0"]!
       print(type(of:status)) //is "Bool" in Console
       print(status) // value is "true" or "false" in Console
  
      if status {... // error occurs "'Any' is not convertible to 'Bool'"
  </code></pre>
  
  <p>I always get the error message <code>'Any' is not convertible to 'Bool'</code>.</p>
  
  <p>So, why is <code>status</code> <code>Any</code> when <code>type(of: status))</code> is <code>Bool</code> in Console. If <code>Any</code> type how can I use <code>status</code> as <code>Bool</code> type?</p>
  
  <p>Thanks!</p>