OCLOperators at
Created by Alexandra on 2017-08-13 · Last edited by Colline.ssali on 2025-12-11.
at ( index : Integer ) : T
Returns the element of self at the *index* position.
Note! 1-based index.
| Expression | Result |
|---|---|
| Sequence{'a', 'b'}->at(1) | a |
It returns the element from the collection at the specified index.
Example:
Department.allInstances->at(1)
Results:
