Maximum value COLLECTION
- Last Updated: October 26, 2026
- 1 minute read
- Corticon.js
- Version 2.4
- Documentation
SYNTAX
<Collection.attribute> -> max
Returns the highest value of <attribute> for all elements in <Collection>. <attribute> must be a numeric data type. <Collection> must be expressed as a unique alias.
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses ->max to identify the highest value of decimal1 in all elements of collection1, then assign it to Entity1.decimal1.
![]()
A sample collection contains five elements, each with a value of decimal1.
![]()