Array.foreachElement

Iterates over all elements of an array, and calls a function on each one of them.

It is safe to change the value of an element of the array while iterating over it, but it is not safe to add or remove elements from the array.

class Array
void
foreachElement

Parameters

func json.types.ArrayForeach

the function to be called on each element