OCLOperators last
No edit summary
(Automatically adding template at the end of the page.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''last () : T'''
'''last () : T'''


Returns the last element in the list operated on. The operand will be converted to a list prior to evaluating the operation.
Returns the last element in the list operated on. The operand will be converted to a list prior to evaluating the operation.  
{| class="wikitable"
{| class="wikitable"
!Expression
!Expression
Line 9: Line 9:
|'3'
|'3'
|}
|}
[[Category:OCLOperators]]
[[Category:OCL Collection Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:42, 10 February 2024

last () : T

Returns the last element in the list operated on. The operand will be converted to a list prior to evaluating the operation.

Expression Result
OrderedSet{1, 2.0, '3'}->last() '3'
This page was edited 94 days ago on 02/10/2024. What links here