Table of contents
TOC
Collapse the table of content
Expand the table of content

List.Min

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns the minimum item in a list, or the optional default value if the list is empty.

List.Min(list as list, optional default as any, optional comparisonCriteria as any, optional includeNulls as nullable logical) as any  

Arguments

ArgumentDescription
listThe List to check.
optional defaultThe default value to return.
optional comparisonCriteriaSpecifies how to compare values in the list. If this argument is null, the default comparer is used.
optional includeNullsThe Logical value whether or not to include null values in the return list.

Example

List.Min({1, 4, 7, 3, -2, 5}) equals -2  
© 2018 Microsoft