OCLOperators last
No edit summary
No edit summary
Line 1: Line 1:
'''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"
!Expression
!Result
|-
|OrderedSet{1, 2.0, '3'}->last()
|'3'
|}
[[Category:OCLOperators]]
[[Category:OCLOperators]]

Revision as of 07:29, 7 November 2019

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 82 days ago on 02/10/2024. What links here