0
0
llucycodes42
When you use the map function, it takes two arguments. The first argument is a variable name and the second argument is a function. The map function will call the function every time it is invoked with the same variable name as the first argument. The function will receive the value of the variable as the argument.
Shortcut: map
map (\\${element} -> ${element}) ${collection}