Iterator
[data/array/Iterator]
Iterates through items of an array. Examples: https://github.com/Cranq-io/cranq-tutorials/tree/main/reference/1_application_flow/1_2_iterators
Keywords: loop, foreach
Input ports
array:
any[]
Recieves array to be iterated over. Example: [1,2,3]
Output ports
item:
any[][number]
Sends current item. Example: 1
index:
number
Sends current index. Example: 0
done:
any[]
Last updated