struct.each()
call the given UDF/Closure with every entry (key/value) in the struct.
struct.each( closure=function, parallel=boolean, maxThreads=number )
Returns: Struct
Examples
animals = {
cow: "moo",
pig: "oink",
cat: "meow"
};
animals.each(function(key) {
// Show key 'arguments.key'
Dump(
label: "Key",
var: arguments.key
);
// Show key's value 'animals[arguments.key]'
Dump(
label: arguments.key & "'s value",
var: animals[arguments.key]
);
});