mingo
Version:
MongoDB query language for in-memory objects
6 lines (5 loc) • 317 B
TypeScript
import { Any, AnyObject, Options } from "../../../types";
/**
* Converts a value to a double. If the value cannot be converted to an double, $toDouble errors. If the value is null or missing, $toDouble returns null.
*/
export declare const $toDouble: (obj: AnyObject, expr: Any, options: Options) => number | null;