🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators at

at ( index : Integer ) : T

Returns the element of self at the *index* position.

Note! The index is 1-based.

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:

Error creating thumbnail: File missing