OCLOperators last
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Returns the last element in the list operated on. The operand will be converted to a list prior to evaluating the operation.
'''last () : T'''
[[Category:OCLOperators]]
 
Returns the last element in the list operated on. The operand will be converted to a list prior to evaluating the operation.  
{| class="wikitable"
!Expression
!Result
|-
|OrderedSet{1, 2.0, '3'}->last()
|'3'
|}
[[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 95 days ago on 02/10/2024. What links here