OCLOperators maxValue
No edit summary
(Updated Edited template to July 12, 2025.)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
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"
Line 11: Line 12:
|}
|}
[[Category:OCL General Operators]]
[[Category:OCL General Operators]]
{{Edited|July|12|2025}}

Latest revision as of 05:57, 20 January 2025

This page was created by Lars.olofsson@mdriven.net on 2020-01-07. Last edited by Edgar on 2025-01-20.

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'