Repeat UntilLuau✎
Runs the body, then stops once Until holds. The body always runs at least once, and Until can read the locals the body declares. For a loop that goes on while something holds, put a Not before Until.
Pending review
- part of the language itself, so it works in Roblox and in Lune
Inputs
- in:execution
- Until:any=
true
Outputs
- Body:execution
- Completed:execution
What it compiles to
luau
repeat print("Looking") until found
Not reviewed yet