Easypt

forEach

..Root.algorithm.forEach

Calls function sequentially with elements in the container as argument.

Child of:

algorithm

Signatures:

Object, Callable, BlockCallable

Example:

import("algorithm");

auto a.=(Array());
a.pushBack("w", "a", "z", "f", "c", "d");
algorithm.forEach(a, log);