|
||||||||||||
|
|
||||||||||||
Foreach iterator
The Foreach iterator takes an iterable value on the left side
and an inline function (e.g., a closure) on the right side.
The expression iterates through the keys and elements generated
by enumeration and calls on each cycle the given closure with
Expression yields the return value from the last call to closure,
or foreach-expr := expr "foreach" inline-function
See also
| Expressions
| Grammar
|
||||||||||||
|
|
||||||||||||