UNPKG

mingo

Version:

MongoDB query language for in-memory objects

11 lines (10 loc) 293 B
import { Any, AnyObject, Options } from "../../../types"; interface InputExpr { n: Any; input: Any; } /** * Returns a specified number of elements from the beginning of an array. */ export declare const $firstN: (obj: AnyObject, expr: InputExpr, options: Options) => Any; export {};