Skip to content

Instantly share code, notes, and snippets.

@regularberry
Created April 25, 2018 23:00
Show Gist options
  • Save regularberry/4099cd2347e27cb2948b59ed0abd1ac3 to your computer and use it in GitHub Desktop.
Save regularberry/4099cd2347e27cb2948b59ed0abd1ac3 to your computer and use it in GitHub Desktop.
dict["first"] = .some(nil)
if let val = dict["first"] {
print(val)
}
// prints ‘nil’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment