Skip to main content

Iterator: Entry

Foundational entry node created automatically inside every iterator scope (Map, Filter, Find, Some, Every, GroupBy, Reduce, Sort). Cannot be added or deleted manually — it appears as a side effect of creating an iterator and disappears when the iterator is removed.

For each iteration, exposes the current element on el and the 0-based position on index. The third output depends on the parent iterator: inside a Reduce it is the running accumulator acc; inside every other iterator it is the injected value. The two are mutually exclusive — a Reduce entry has no value output, and a non-Reduce entry has no acc output.

Parameters

This node has no parameters.

Input

This node has no input connectors.

Output

el
The current element of the iteration.
index

0-based position of the current element.

acc

Running accumulator. Only present inside Iterator::Reduce, where it replaces the value output.

value

Optional value injected once into every iteration via the parent iterator's value input. Present in every iterator scope except Iterator::Reduce (where acc takes its place).