🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators maxValue
This page was created by Lars.olofsson on 2020-01-07. Last edited by Edgar on 2025-08-31.

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'