OCLOperators collect
Created by Alexandra on 2017-08-13 · Last edited by Hans.karlsen on 2025-11-08.
Builds a tuple from a comma separated list of expressions - the temporary tuple type will take property names from result expressions and when that is not possible will resort to naming properties Part1, Part2 etc
| Expression | Result |
|---|---|
| Sequence{'first', 'second'}->collect(toUpper()) | Sequence{'FIRST', 'SECOND'} |
