UNPKG

mingo

Version:

MongoDB query language for in-memory objects

25 lines (24 loc) 792 B
export declare const ARR_OPTS: { int: { type: string; }; obj: { type: string; }; }; export declare function errInvalidArgs(failOnError: boolean, message: string): null; export declare function errExpectObject(failOnError: boolean, prefix: string): null; export declare function errExpectString(failOnError: boolean, prefix: string): null; export declare function errExpectNumber(failOnError: boolean, name: string, opts?: { integer?: boolean; min?: number; max?: number; }): null; export declare const errExpectInteger: (failOnError: boolean, name: string, opts?: { min?: number; max?: number; }) => null; export declare function errExpectArray(failOnError: boolean, prefix: string, opts?: { size?: number; type?: string; }): null;