- Can be used in combination with $reduce to yield the equivalent of a $foldR.
- Returns null if input is nullish.
- Errors if input is not an array or nullish.
Aggregation should support an $reverseArray expression, which accepts as input an expression that evaluates to an array, and outputs the reversed version of the array. Throws an error if the input is not an array or nullish.