OCLOperators foreach
This page was created by Lars.olofsson@mdriven.net on 2021-12-13. Last edited by Stephanie@mdriven.net on 2025-02-11.

Interates a collection containing and applying expr on all elements contained in self.

Expression Result
(list of objects)->forEach(str | str.DoSomething) The method DoSomething is called once on each of the objects in (list of objects)