For Loop
Module Info:
moduleType: "internal",
moduleName: "forLoop"
Description
The forLoop
function is one of the more advanced ones: it receives a number and a function, then it executes the function n times, n being the given number. Optionally you can also give two more functions: one that is executed everytime after the main function and another one that is executed after everything is done.
Inputs
Name | Type | Required |
---|---|---|
module | function | ✔ |
quantity | number | ✔ |
postEach | function | ✖ |
postAll | function | ✖ |
Outputs
Name | Type |
---|---|
lastIndexValue | number |