Description Usage Arguments Examples
Create an iterator that iterates over another iterator until
a specified function returns FALSE
.
This can be useful for breaking out of a foreach loop, for example.
1 | ibreak(iterable, finished)
|
iterable |
Iterable to iterate over. |
finished |
Function that returns a logical value. The iterator
stops when this function returns |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.