Skip to content

Commit 79f7bc3

Browse files
authored
DOCSP-20267 fix desciption under behavior (#2029) (#2035)
1 parent aae85a0 commit 79f7bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/operator/aggregation/last-array-element.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Valid operand for :expression:`$last` must resolve to an array, null,
5959
or missing.
6060

6161
- If the operand resolves to a non-empty array, :expression:`$last`
62-
returns the first element in the array:
62+
returns the last element in the array:
6363

6464
- If the operand resolves to an empty array ``[]``,
6565
:expression:`$last` does not return a value.

0 commit comments

Comments
 (0)