UNPKG

mingo

Version:

MongoDB query language for in-memory objects

4 lines (3 loc) 277 B
import { AnyObject } from "../../types"; /** Adds a value to an array unless the value is already present. */ export declare function $addToSet(expr: AnyObject, arrayFilters?: AnyObject[], options?: import("../../core/_internal").ComputeOptions): (obj: AnyObject) => string[];