OCLOperators maxValue
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns the highest (maximum) value from a collection of simple value objects.
Returns the highest (maximum) value from a collection of simple value objects.  
{| class="wikitable"
{| class="wikitable"
!Expression
!Expression
Line 10: Line 10:
|'2019-01-01'
|'2019-01-01'
|}
|}
[[Category:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:42, 10 February 2024

Returns the highest (maximum) value from a collection of simple value objects.

Expression Result
(Bag{3, 2, 1, 6})->maxValue 6
Bag{DateTime.Parse('2019-01-01'), DateTime.Parse('2018-12-01')}->maxValue '2019-01-01'
This page was edited 94 days ago on 02/10/2024. What links here