map
Last updated
Loop through all the elements in a list to apply a specific operation to each element.
Example: loop through a list of numbers to square (operation to be applied) every number.
values
The list of elements to loop through.
Array/List
-
-
Yes
extra
Extra parameters stored and passed to callback.
Any
-
-
No
N/A
This will be triggered for every loop that happens within the 'values'.
The current active value within the 'values'.
Any
Coming Soon.
The user wants to loop through all the values in an array.
Set a variable "Vmap" using the setVar function. Call the function toArray in the value parameter and set the values for the list.
var: Vmap



Call the function map. Call the function getVar in the values parameter and enter the variable to get.
var : getVar->Vmap



Add a console function to the callback of the map function to display the result in the console.



Last updated