UNPKG

mingo

Version:

MongoDB query language for in-memory objects

39 lines (38 loc) 939 B
export declare const INT_OPTS: { int: { int: boolean; }; pos: { min: number; int: boolean; }; index: { min: number; int: boolean; }; nzero: { min: number; max: number; int: boolean; }; }; 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?: { int?: boolean; min?: number; max?: number; }): null; export declare function errExpectArray(failOnError: boolean, prefix: string, opts?: { size?: number; type?: string; }): null;