mingo
Version:
MongoDB query language for in-memory objects
13 lines (12 loc) • 311 B
TypeScript
import { Any, AnyObject, Options } from "../../../types";
interface InputExpr {
input: Any;
to: string | number;
onError?: Any;
onNull?: Any;
}
/**
* Converts a value to a specified type.
*/
export declare const $convert: (obj: AnyObject, expr: InputExpr, options: Options) => Any;
export {};