We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add break and continue as statements.
break
continue
for i in 1..5 { if i == 4 { break; } continue; }
Only legal in while and for loops.
while
for
break moves execution to the statement following the block expression. Using break or continue within a block changes that blocks type to Unit
Unit
Unknowns
within { for i in 1..5 { if i == 4 { break; } continue; } } apply { X(q); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add
break
andcontinue
as statements.Only legal in
while
andfor
loops.break
moves execution to the statement following the block expression. Usingbreak
orcontinue
within a block changes that blocks type toUnit
Unknowns
The text was updated successfully, but these errors were encountered: