@@ -1473,7 +1473,11 @@ local exampleDocMultiline(mid, ex) =
14731473 availableSince: '0.21.0' ,
14741474 description: html.paragraphs([
14751475 |||
1476- Return the min of all element in <code>arr</code>.
1476+ Return the minimum of all elements in <code>arr</code>. If <code>keyF</code> is provided, it is called on each element
1477+ of the array and should return a comparator value, and in this case <code>minArray</code> will return an element
1478+ with the minimum comparator value. If <code>onEmpty</code> is provided, and <code>arr</code> is empty, then
1479+ <code>minArray</code> will return the provided <code>onEmpty</code> value. If <code>onEmpty</code> is not provided,
1480+ then an empty <code>arr</code> will raise an error.
14771481 ||| ,
14781482 ]),
14791483 },
@@ -1483,7 +1487,11 @@ local exampleDocMultiline(mid, ex) =
14831487 availableSince: '0.21.0' ,
14841488 description: html.paragraphs([
14851489 |||
1486- Return the max of all element in <code>arr</code>.
1490+ Return the maximum of all elements in <code>arr</code>. If <code>keyF</code> is provided, it is called on each element
1491+ of the array and should return a comparator value, and in this case <code>maxArray</code> will return an element
1492+ with the maximum comparator value. If <code>onEmpty</code> is provided, and <code>arr</code> is empty, then
1493+ <code>maxArray</code> will return the provided <code>onEmpty</code> value. If <code>onEmpty</code> is not provided,
1494+ then an empty <code>arr</code> will raise an error.
14871495 ||| ,
14881496 ]),
14891497 },
0 commit comments