title: Swift: guard let vs if let
body: <p>I have been reading about Optionals in Swift, and I have seen examples where <code>if let</code> is used to check if an Optional holds a value, and in case it does – do something with the unwrapped value.</p>
  
  <p>However, I have seen that in Swift 2.0 the keyword <code>guard let</code> is used mostly. I wonder whether <code>if let</code> has been removed from Swift 2.0 or if it still possible to be used.</p>
  
  <p>Should I change my programs that contain <code>if let</code> to <code>guard let</code>?</p>