So in the way that guard statements check a condition at the start of a function and can return it early I want the same thing but for only a loop. I do not want to break the loop and exit it if the condition is met, only for that iteration to finish and continue the loop.
If you want to continue, you can use continue keyword
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.