UNPKG

mingo

Version:

MongoDB query language for in-memory objects

10 lines (9 loc) 272 B
import { AccumulatorOperator } from "../../types"; /** * Returns the first value in a group. * * @param collection The input array * @param expr The right-hand side expression value of the operator * @returns {*} */ export declare const $first: AccumulatorOperator;