diff --git a/doc/_stdlib_gen/stdlib-content.jsonnet b/doc/_stdlib_gen/stdlib-content.jsonnet
index 0fe85e67..52ac42f1 100644
--- a/doc/_stdlib_gen/stdlib-content.jsonnet
+++ b/doc/_stdlib_gen/stdlib-content.jsonnet
@@ -1473,7 +1473,11 @@ local exampleDocMultiline(mid, ex) =
availableSince: '0.21.0',
description: html.paragraphs([
|||
- Return the min of all element in arr
.
+ Return the minimum of all elements in arr
. If keyF
is provided, it is called on each element
+ of the array and should return a comparator value, and in this case minArray
will return an element
+ with the minimum comparator value. If onEmpty
is provided, and arr
is empty, then
+ minArray
will return the provided onEmpty
value. If onEmpty
is not provided,
+ then an empty arr
will raise an error.
|||,
]),
},
@@ -1483,7 +1487,11 @@ local exampleDocMultiline(mid, ex) =
availableSince: '0.21.0',
description: html.paragraphs([
|||
- Return the max of all element in arr
.
+ Return the maximum of all elements in arr
. If keyF
is provided, it is called on each element
+ of the array and should return a comparator value, and in this case maxArray
will return an element
+ with the maximum comparator value. If onEmpty
is provided, and arr
is empty, then
+ maxArray
will return the provided onEmpty
value. If onEmpty
is not provided,
+ then an empty arr
will raise an error.
|||,
]),
},
diff --git a/doc/ref/stdlib.html b/doc/ref/stdlib.html
index 3c830883..c7360fd0 100644
--- a/doc/ref/stdlib.html
+++ b/doc/ref/stdlib.html
@@ -2735,7 +2735,11 @@
- Return the min of all element in arr
.
+ Return the minimum of all elements in arr
. If keyF
is provided, it is called on each element
+ of the array and should return a comparator value, and in this case minArray
will return an element
+ with the minimum comparator value. If onEmpty
is provided, and arr
is empty, then
+ minArray
will return the provided onEmpty
value. If onEmpty
is not provided,
+ then an empty arr
will raise an error.
- Return the max of all element in arr
.
+ Return the maximum of all elements in arr
. If keyF
is provided, it is called on each element
+ of the array and should return a comparator value, and in this case maxArray
will return an element
+ with the maximum comparator value. If onEmpty
is provided, and arr
is empty, then
+ maxArray
will return the provided onEmpty
value. If onEmpty
is not provided,
+ then an empty arr
will raise an error.