mingo
Version:
MongoDB query language for in-memory objects
11 lines (10 loc) • 329 B
TypeScript
import { AccumulatorOperator } from "../../types";
/**
* Returns the last value in the collection.
*
* @param collection The input array
* @param expr The right-hand side expression value of the operator
* @param options The options to use for this operation
* @returns
*/
export declare const $last: AccumulatorOperator;