break
Syntax
break()
break(value)
Exit early from a loop.
break()
terminates the execution of the current loop.
for([1, 2, 3], if(_ == 2, break()));
break()
break(value)
Exit early from a loop.
break()
terminates the execution of the current loop.
for([1, 2, 3], if(_ == 2, break()));