Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if let #170

Open
myuon opened this issue Oct 14, 2023 · 0 comments
Open

if let #170

myuon opened this issue Oct 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@myuon
Copy link
Owner

myuon commented Oct 14, 2023

if let x! = optional {
}

shorthand for

if optional != nil {
  let x = optional!;

  ...
}
@myuon myuon added this to quartz Oct 14, 2023
@myuon myuon converted this from a draft issue Oct 14, 2023
@myuon myuon added the enhancement New feature or request label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant