Skip to content

Commit fbb9569

Browse files
authored
DOCSP-20267 fix desciption under behavior (#2029)
1 parent 76e4694 commit fbb9569

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
@@ -57,7 +57,7 @@ Valid operand for :expression:`$last` must resolve to an array, null,
5757
or missing.
5858

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

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

0 commit comments

Comments
 (0)